mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fix bulk key revocation
This commit is contained in:
@@ -116,7 +116,7 @@ class ServerRepository extends BaseRepository implements ServerRepositoryInterfa
|
|||||||
{
|
{
|
||||||
if (is_array($key)) {
|
if (is_array($key)) {
|
||||||
return $this->getHttpClient()->request('POST', 'keys/batch-delete', [
|
return $this->getHttpClient()->request('POST', 'keys/batch-delete', [
|
||||||
'json' => $key,
|
'json' => ['keys' => $key],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user