We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd8361e commit 06004a6Copy full SHA for 06004a6
src/App.js
@@ -12,7 +12,7 @@ const axiosGitHubGraphQL = axios.create({
12
13
const TITLE = 'React GraphQL GitHub Client';
14
15
-const ISSUES_OF_REPOSITORY = `
+const GET_ISSUES_OF_REPOSITORY = `
16
query (
17
$organization: String!,
18
$repository: String!,
@@ -80,7 +80,7 @@ const getIssuesOfRepository = (path, cursor) => {
80
const [organization, repository] = path.split('/');
81
82
return axiosGitHubGraphQL.post('', {
83
- query: ISSUES_OF_REPOSITORY,
+ query: GET_ISSUES_OF_REPOSITORY,
84
variables: { organization, repository, cursor },
85
});
86
};
0 commit comments