From ffdd029afd88bb3ec266db4e554d9f6e15a8e681 Mon Sep 17 00:00:00 2001 From: Eamonn Sullivan Date: Thu, 26 Nov 2020 12:30:22 +0000 Subject: [PATCH] Get more of the languages, the first ten, if available. (#12) --- pom.xml | 2 +- resources/graphql/get-repo-info-query.graphql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e9a2b5c..cb6bb1c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 eamonnsullivan github-api-lib - 0.1.20 + 0.1.21 github-api-lib Library of Github API calls that I happen to need. https://github.com/eamonnsullivan/github-api-lib diff --git a/resources/graphql/get-repo-info-query.graphql b/resources/graphql/get-repo-info-query.graphql index fa9d403..106a6e6 100644 --- a/resources/graphql/get-repo-info-query.graphql +++ b/resources/graphql/get-repo-info-query.graphql @@ -6,7 +6,7 @@ query getRepoId ($owner: String!, $name: String!) { url sshUrl updatedAt - languages(first: 2 orderBy:{field: SIZE, direction:DESC}) { + languages(first: 10 orderBy:{field: SIZE, direction:DESC}) { nodes { name }