mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-09 18:03:44 +02:00
Fix server deletion logic, and clean up suspend/unsuspend operations
This commit is contained in:
@@ -318,7 +318,7 @@ class ServerController extends Controller
|
||||
}
|
||||
|
||||
try {
|
||||
$repo->$action($id);
|
||||
$repo->toggleAccess($id, ($action === 'unsuspend'));
|
||||
|
||||
return response('', 204);
|
||||
} catch (DisplayException $ex) {
|
||||
|
||||
Reference in New Issue
Block a user