MCPcopy Index your code
hub / github.com/ampproject/amphtml / graphqlQueryGithub

Function graphqlQueryGithub

build-system/common/update-session-issues/index.js:150–153  ·  view source on GitHub ↗

* @param {string} token * @param {string} query * @return {Promise }

(token, query)

Source from the content-addressed store, hash-verified

148 * @return {Promise<Object>}
149 */
150async function graphqlQueryGithub(token, query) {
151 const {data} = await postGithub(token, '/graphql', {query});
152 return data;
153}
154
155/**
156 * @param {string} token

Callers 2

getGraphqlIssueIdFunction · 0.85
pinOrUnpinGithubIssueFunction · 0.85

Calls 1

postGithubFunction · 0.85

Tested by

no test coverage detected