This commit is contained in:
Jorrin 2024-01-09 23:35:23 +01:00
parent 52bc66e7dd
commit 4bdb95ed0f
1 changed files with 1 additions and 3 deletions

View File

@ -57,9 +57,7 @@ export function makeExtensionFetcher() {
const fetcher: Fetcher = async (url, ops) => { const fetcher: Fetcher = async (url, ops) => {
return sendExtensionRequest({ return sendExtensionRequest({
url, url,
method: ops?.method ?? "GET", ...ops,
headers: ops?.headers,
body: ops?.body,
}) as any; }) as any;
}; };
return fetcher; return fetcher;