MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / constructor

Method constructor

frontend/src/lib/api/apiClient.ts:15–17  ·  view source on GitHub ↗
(baseURL: string)

Source from the content-addressed store, hash-verified

13 private refreshPromise: Promise<void> | null = null;
14
15 constructor(baseURL: string) {
16 this.baseURL = baseURL;
17 }
18
19 private async getAuthHeaders(): Promise<HeadersInit> {
20 // UPDATE 02/07/2025

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected