From f2b3faf16f6af097be3b09e04553a53c237c86fb Mon Sep 17 00:00:00 2001 From: techgaun Date: Sat, 18 May 2019 09:41:24 -0500 Subject: [PATCH] update --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 3bcc392..aebddc5 100644 --- a/js/main.js +++ b/js/main.js @@ -164,7 +164,7 @@ function fetchAndShow(repo) { fetch(`https://api.github.com/graphql`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: schemaToQuery, + body: getGraphQLSchema(owner, repo_name), }) .then(response => { if (!response.ok) throw Error(response.statusText);