Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
25
function
resolveToken(): string {
26
return
_getToken ? _getToken() : _token
27
}
28
29
export
function
getAuthHeaders(): Record<string, string> {
30
const
token = resolveToken()
Callers
2
getAuthHeaders
Function · 0.85
fetchWithAuth
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected