Skip to content

Commit

Permalink
fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Apr 13, 2023
1 parent 9dfd1b6 commit 78b8e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GraphiQLController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]);
}

Expand Down

0 comments on commit 78b8e8a

Please sign in to comment.