Fix inability to revoke admin tokens from daemon

This commit is contained in:
Dane Everitt 2018-03-03 21:45:10 -06:00
parent a4f03f5d02
commit d7efb4c4a2
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 1 deletions

View file

@ -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,
]);
}