From 58b7d85bff1d9de1e661007e0c99a94c56f62044 Mon Sep 17 00:00:00 2001 From: Philip Plagge Date: Fri, 14 Jul 2023 11:01:38 +0200 Subject: [PATCH] Implement changes from #30 to fix issue in earlier package versions --- Classes/Controller/GraphQLController.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Classes/Controller/GraphQLController.php b/Classes/Controller/GraphQLController.php index 1402849..362a1ac 100644 --- a/Classes/Controller/GraphQLController.php +++ b/Classes/Controller/GraphQLController.php @@ -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']; + /** * phpcs:disable SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingTraversableParameterTypeHintSpecification *