diff --git a/app/Http/Controllers/Admin/NodeAutoDeployController.php b/app/Http/Controllers/Admin/NodeAutoDeployController.php index 2c86dae74..43bf7a502 100644 --- a/app/Http/Controllers/Admin/NodeAutoDeployController.php +++ b/app/Http/Controllers/Admin/NodeAutoDeployController.php @@ -32,7 +32,7 @@ public function __construct( public function __invoke(Request $request, Node $node): JsonResponse { /** @var \Jexactyl\Models\ApiKey|null $key */ - $key = $this->repository->getApplicationKeys($request->user()) + $key = $this->repository->getApplicationKeys() ->filter(function (ApiKey $key) { foreach ($key->getAttributes() as $permission => $value) { if ($permission === 'r_nodes' && $value === 1) {