Fix inability to revoke admin tokens from daemon
This commit is contained in:
parent
a4f03f5d02
commit
d7efb4c4a2
2 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,7 @@ class ServerRepository extends BaseRepository implements ServerRepositoryInterfa
|
|||
public function revokeAccessKey($key): ResponseInterface
|
||||
{
|
||||
if (is_array($key)) {
|
||||
return $this->getHttpClient()->request('POST', 'keys', [
|
||||
return $this->getHttpClient()->request('POST', 'keys/batch-delete', [
|
||||
'json' => $key,
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue