MCPcopy Create free account
hub / github.com/KartikLabhshetwar/foliox / getGraphQLClient

Function getGraphQLClient

lib/modules/github/projects.ts:8–14  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

6import { graphql } from '@octokit/graphql';
7
8function getGraphQLClient(token: string) {
9 return graphql.defaults({
10 headers: {
11 authorization: `Bearer ${token}`,
12 },
13 });
14}
15
16const REPO_DETAILS_QUERY_PUBLIC = `
17 query($username: String!) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected