MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / globalFetch

Function globalFetch

console/src/api/apiClient.ts:43–43  ·  view source on GitHub ↗
(...req: Parameters<Fetch>)

Source from the content-addressed store, hash-verified

41// By wrapping fetch in an anonymous function, we ensure we always access the current version
42// of fetch through closure, allowing MSW to properly intercept and handle requests during tests.
43const globalFetch = (...req: Parameters<Fetch>) => fetch(...req);
44
45function buildConsoleVersionHeaders(
46 currentConsoleVersion: string,

Callers 1

Calls 1

fetchFunction · 0.50

Tested by

no test coverage detected