mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 07:52:17 +00:00
fix
This commit is contained in:
parent
52bc66e7dd
commit
4bdb95ed0f
1 changed files with 1 additions and 3 deletions
|
|
@ -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 a new issue