MCPcopy Index your code
hub / github.com/KartikLabhshetwar/foliox / getGraphQLClient

Function getGraphQLClient

lib/modules/github/fetcher.ts:6–12  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

4import { parseSocialLinksFromReadme } from '@/lib/utils/readme-parser';
5
6function getGraphQLClient(token: string) {
7 return graphql.defaults({
8 headers: {
9 authorization: `Bearer ${token}`,
10 },
11 });
12}
13
14const USER_QUERY_PUBLIC = `
15 query($username: String!) {

Callers 4

fetchPRStatisticsMethod · 0.70
fetchReadmeContentMethod · 0.70
fetchUserProfileMethod · 0.70
fetchUserRepositoriesMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected