Skip to content

Commit

Permalink
Merge pull request #30 from kdambekalns/bugfix/29-accept-header-retur…
Browse files Browse the repository at this point in the history
…ns-406

Set $supportedMediaTypes to application/json
  • Loading branch information
johannessteu authored Dec 9, 2020
2 parents b64c080 + dd37a82 commit 5dd4068
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Classes/Controller/GraphQLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ class GraphQLController extends ActionController
*/
protected $requestLogger;

/**
* A list of IANA media types which are supported by this controller
*
* @see http://www.iana.org/assignments/media-types/index.html
*
* @var string[]
*/
protected $supportedMediaTypes = ['application/json'];

/**
* @Flow\SkipCsrfProtection
*
Expand Down

0 comments on commit 5dd4068

Please sign in to comment.