Skip to content

Commit 841e214

Browse files
committed
Update fetch.ts
1 parent 39a5737 commit 841e214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/api/fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const parseJsonOrText = async (res: Response): Promise<unknown> => {
1919
}
2020
};
2121

22+
// fetchApiServer is a wrapper around fetch that adds the necessary headers for the Crate API or the MCP API server.
2223
export const fetchApiServer = async (
2324
path: string,
2425
config: ApiConfig,
@@ -68,7 +69,6 @@ export const fetchApiServer = async (
6869
return res;
6970
};
7071

71-
// fetchApiServer is a wrapper around fetch that adds the necessary headers for the Crate API or the MCP API server.
7272
export const fetchApiServerJson = async <T>(
7373
path: string,
7474
config: ApiConfig,

0 commit comments

Comments
 (0)