mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 04:15:52 -05:00
Fix double encoding of JSON
This commit is contained in:
@@ -126,6 +126,6 @@ class RemoteController extends Controller
|
||||
$token->delete();
|
||||
|
||||
// Manually as getConfigurationAsJson() returns it in correct format already
|
||||
return response()->json($node->getConfigurationAsJson(), 200);
|
||||
return response($node->getConfigurationAsJson());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user