MCPcopy Create free account
hub / github.com/Tencent/teamai-cli / authHeaders

Function authHeaders

src/providers/gitcode/gitcode-api.ts:59–65  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

57}
58
59function authHeaders(token: string): Record<string, string> {
60 return {
61 'Authorization': `Bearer ${token}`,
62 'Content-Type': 'application/json',
63 'Accept': 'application/json',
64 };
65}
66
67// ─── ~/.netrc credential storage ─────────────────────────
68//

Callers 3

gitcodeWhoamiFunction · 0.70
gitcodeCreateRepoFunction · 0.70
gitcodePullCreateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected