mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Fix double encoding of JSON
This commit is contained in:
parent
f9dc66b4dd
commit
5e63ac0baa
@ -126,6 +126,6 @@ class RemoteController extends Controller
|
|||||||
$token->delete();
|
$token->delete();
|
||||||
|
|
||||||
// Manually as getConfigurationAsJson() returns it in correct format already
|
// Manually as getConfigurationAsJson() returns it in correct format already
|
||||||
return response()->json($node->getConfigurationAsJson(), 200);
|
return response($node->getConfigurationAsJson());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user