Skip to content

Commit 85e75a2

Browse files
committed
Fix bulk key revocation
1 parent d7efb4c commit 85e75a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Repositories/Daemon/ServerRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function revokeAccessKey($key): ResponseInterface
116116
{
117117
if (is_array($key)) {
118118
return $this->getHttpClient()->request('POST', 'keys/batch-delete', [
119-
'json' => $key,
119+
'json' => ['keys' => $key],
120120
]);
121121
}
122122

0 commit comments

Comments
 (0)