This commit is contained in:
techgaun 2019-05-18 09:41:24 -05:00
parent d9e3224a7f
commit f2b3faf16f
No known key found for this signature in database
GPG Key ID: 8BB8C93B2167505A
1 changed files with 1 additions and 1 deletions

View File

@ -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);