Skip to content

Commit b070525

Browse files
committed
Fix inability to delete a node, closes pterodactyl#741
1 parent 952d8d1 commit b070525

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
1111
* `[beta.1]` — Fixes missing check in environment setup that would leave the Hashids salt empty.
1212
* `[beta.1]` — Fixes bug preventing loading of allocations when trying to create a new server.
1313
* `[beta.1]` — Fixes bug causing inability to create new servers on the Panel.
14+
* `[beta.1]` — Fixes bug causing inability to delete an allocation due to misconfigured JS.
1415

1516
## v0.7.0-beta.1 (Derelict Dermodactylus)
1617
### Added

resources/themes/pterodactyl/admin/nodes/view/allocation.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
}, function () {
178178
$.ajax({
179179
method: 'DELETE',
180-
url: Router.route('admin.nodes.view.allocation.removeSingle', { id: Pterodactyl.node.id, allocation: allocation }),
180+
url: Router.route('admin.nodes.view.allocation.removeSingle', { node: Pterodactyl.node.id, allocation: allocation }),
181181
headers: { 'X-CSRF-TOKEN': $('meta[name="_token"]').attr('content') },
182182
}).done(function (data) {
183183
element.parent().parent().addClass('warning').delay(100).fadeOut();

0 commit comments

Comments
 (0)