Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Fix: JSON.stringify body when it isJsonifiable and content-type is 'application/json' #168

Merged
merged 2 commits into from
Mar 15, 2021

Conversation

gfortaine
Copy link
Contributor

@gfortaine gfortaine commented Feb 9, 2021

Fixes #167

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 9, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 1265e5f:

Sandbox Source
React Configuration
React Typescript Configuration
rtk-query-demo Configuration
svelte-app-rtk-simplequery-demo Configuration

src/fetchBaseQuery.ts Show resolved Hide resolved
@msutkowski msutkowski force-pushed the fetch/applicationJson branch from 657a9ac to 1265e5f Compare March 15, 2021 16:04
@msutkowski msutkowski changed the title fix: stringify body when content-type is 'application/json' Fix: JSON.stringify body isJsonifiable and content-type is 'application/json' Mar 15, 2021
@msutkowski msutkowski changed the title Fix: JSON.stringify body isJsonifiable and content-type is 'application/json' Fix: JSON.stringify body when it isJsonifiable and content-type is 'application/json' Mar 15, 2021
@msutkowski msutkowski merged commit ef42089 into rtk-incubator:next Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect behavior when "Content-Type: application/json" and body is not an object
3 participants