Skip to content

Commit 78b8e8a

Browse files
committed
fix variable names
1 parent 9dfd1b6 commit 78b8e8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphiQLController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function __invoke(ConfigRepository $config, Request $request): View
3333
assert(is_array($routeConfig));
3434

3535
return $this->viewFactory->make('graphiql::index', [
36-
'endpoint' => $this->maybeURL($routeConfig['endpoint'] ?? null),
37-
'subscription-endpoint' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null),
36+
'url' => $this->maybeURL($routeConfig['endpoint'] ?? null),
37+
'subscriptionUrl' => $this->maybeURL($routeConfig['subscription-endpoint'] ?? null),
3838
]);
3939
}
4040

0 commit comments

Comments
 (0)