mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 01:35:08 +01: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 New Issue
Block a user