MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / resolveToken

Function resolveToken

src/services/utils/http.ts:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25function resolveToken(): string {
26 return _getToken ? _getToken() : _token
27}
28
29export function getAuthHeaders(): Record<string, string> {
30 const token = resolveToken()

Callers 2

getAuthHeadersFunction · 0.85
fetchWithAuthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected