Skip to content

Commit f356653

Browse files
authored
Fix graphql api (#1165)
1 parent 78c6376 commit f356653

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"soundasleep/html2text": "~0.5",
88
"twig/twig": "~2.4",
99
"ext-xmlwriter": "*",
10-
"webonyx/graphql-php": "^0.13.8",
10+
"webonyx/graphql-php": "^15.0.0",
1111
"ext-json": "*",
1212
"spatie/icalendar-generator": "^2.1",
1313
"simshaun/recurr": "^4.0",

src/Classes/MyRadio/GraphQLUtils.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private static function processAuthDirective(
160160
$resolvedObject = null
161161
) {
162162
if (isset($args['constants'])) {
163-
$constants = $args['constants'];
163+
$constants = $args['constants']->values;
164164
// No constants => public access
165165
if (count($constants) === 0) {
166166
return true;

0 commit comments

Comments
 (0)