diff --git a/app/Http/Routes/APIRoutes.php b/app/Http/Routes/APIRoutes.php index 7178fc4d8..138ae5241 100644 --- a/app/Http/Routes/APIRoutes.php +++ b/app/Http/Routes/APIRoutes.php @@ -98,7 +98,7 @@ class APIRoutes ]); $api->delete('nodes/{id}', [ - 'as' => 'api.nodes.view', + 'as' => 'api.nodes.delete', 'uses' => 'Pterodactyl\Http\Controllers\API\NodeController@deleteNode' ]);