mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 04:51:50 +01:00
fix
This commit is contained in:
parent
52bc66e7dd
commit
4bdb95ed0f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user