mirror of
https://github.com/techgaun/active-forks.git
synced 2025-01-03 11:22:17 +01:00
update
This commit is contained in:
parent
d9e3224a7f
commit
f2b3faf16f
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ function fetchAndShow(repo) {
|
||||||
fetch(`https://api.github.com/graphql`, {
|
fetch(`https://api.github.com/graphql`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: schemaToQuery,
|
body: getGraphQLSchema(owner, repo_name),
|
||||||
})
|
})
|
||||||
.then(response => {
|
.then(response => {
|
||||||
if (!response.ok) throw Error(response.statusText);
|
if (!response.ok) throw Error(response.statusText);
|
||||||
|
|
Loading…
Reference in a new issue