Skip to content

Commit

Permalink
fix(http): use serializeBody to support JSON payload in FetchBackend
Browse files Browse the repository at this point in the history
  • Loading branch information
leo6104 committed Jun 20, 2023
1 parent 254023a commit 7925440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/http/src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class FetchBackend implements HttpBackend {
}

return {
body: req.body,
body: req.serializeBody(),
method: req.method,
headers,
credentials,
Expand Down

0 comments on commit 7925440

Please sign in to comment.