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