From 85e75a280862937e2db360dd442e2590aa341da2 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 3 Mar 2018 21:53:07 -0600 Subject: [PATCH] Fix bulk key revocation --- app/Repositories/Daemon/ServerRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Daemon/ServerRepository.php b/app/Repositories/Daemon/ServerRepository.php index bdc7fc99c..cf5a5a69a 100644 --- a/app/Repositories/Daemon/ServerRepository.php +++ b/app/Repositories/Daemon/ServerRepository.php @@ -116,7 +116,7 @@ class ServerRepository extends BaseRepository implements ServerRepositoryInterfa { if (is_array($key)) { return $this->getHttpClient()->request('POST', 'keys/batch-delete', [ - 'json' => $key, + 'json' => ['keys' => $key], ]); }