mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 05:51:49 +01:00
mr feedback
This commit is contained in:
parent
4202bf8ef3
commit
f9a70b196b
@ -74,10 +74,8 @@ export function makeExtensionFetcher() {
|
|||||||
url,
|
url,
|
||||||
...opsWithoutBody,
|
...opsWithoutBody,
|
||||||
...(ops.body && {
|
...(ops.body && {
|
||||||
body: {
|
body: convertBodyToObject(ops.body),
|
||||||
bodyType: getBodyTypeFromBody(ops.body),
|
bodyType: getBodyTypeFromBody(ops.body),
|
||||||
value: convertBodyToObject(ops.body),
|
|
||||||
},
|
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
if (!result?.success) throw new Error(`extension error: ${result?.error}`);
|
if (!result?.success) throw new Error(`extension error: ${result?.error}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user