Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: custom graph creation #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix: custom graph creation #36

wants to merge 1 commit into from

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.

3 participants