Skip to content

Conversation

@njoyard
Copy link
Contributor

@njoyard njoyard commented Feb 19, 2021

Fixes custom graph creation/edition.

At some point in an update the JSONAPIAdapter switched to using application/vnd.api+json content-type, which perfos server bodyParser middleware is not configured to handle (by default it only handles application/json). As a consequence, custom graph creation and edition behaves as if the client sent an empty payload.

This PR configures the middleware to accept both content types.

@njoyard njoyard requested a review from a team February 19, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants