From 78b8e8a88469e94b1a3162123aba1d6169f08157 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Thu, 13 Apr 2023 16:01:17 +0200 Subject: [PATCH] fix variable names --- src/GraphiQLController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GraphiQLController.php b/src/GraphiQLController.php index 04e147c..f6be0cc 100755 --- a/src/GraphiQLController.php +++ b/src/GraphiQLController.php @@ -33,8 +33,8 @@ public function __invoke(ConfigRepository $config, Request $request): View assert(is_array($routeConfig)); return $this->viewFactory->make('graphiql::index', [ - 'endpoint' => $this->maybeURL($routeConfig['endpoint'] ?? null), - 'subscription-endpoint' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null), + 'url' => $this->maybeURL($routeConfig['endpoint'] ?? null), + 'subscriptionUrl' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null), ]); }