Skip to content

Commit ade16e6

Browse files
committed
Fix api route permission
1 parent 6f97799 commit ade16e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Routes/APIRoutes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function map(Router $router) {
9898
]);
9999

100100
$api->delete('nodes/{id}', [
101-
'as' => 'api.nodes.view',
101+
'as' => 'api.nodes.delete',
102102
'uses' => 'Pterodactyl\Http\Controllers\API\NodeController@deleteNode'
103103
]);
104104

0 commit comments

Comments
 (0)