Fix bulk key revocation

This commit is contained in:
Dane Everitt 2018-03-03 21:53:07 -06:00
parent d7efb4c4a2
commit 85e75a2808
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

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