We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39a5737 commit 841e214Copy full SHA for 841e214
src/lib/api/fetch.ts
@@ -19,6 +19,7 @@ export const parseJsonOrText = async (res: Response): Promise<unknown> => {
19
}
20
};
21
22
+// fetchApiServer is a wrapper around fetch that adds the necessary headers for the Crate API or the MCP API server.
23
export const fetchApiServer = async (
24
path: string,
25
config: ApiConfig,
@@ -68,7 +69,6 @@ export const fetchApiServer = async (
68
69
return res;
70
71
-// fetchApiServer is a wrapper around fetch that adds the necessary headers for the Crate API or the MCP API server.
72
export const fetchApiServerJson = async <T>(
73
74
0 commit comments