From ddc53e87fa463dc8e1054c0823a54cb45a72232a Mon Sep 17 00:00:00 2001 From: envoyr Date: Sun, 20 Feb 2022 11:42:52 +0100 Subject: [PATCH] fix response --- lib/Froxlor/Api/Commands/Froxlor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/Froxlor.php b/lib/Froxlor/Api/Commands/Froxlor.php index 31cde236..6d97fa3c 100644 --- a/lib/Froxlor/Api/Commands/Froxlor.php +++ b/lib/Froxlor/Api/Commands/Froxlor.php @@ -256,7 +256,7 @@ class Froxlor extends \Froxlor\Api\ApiCommand $integrity = new \Froxlor\Database\IntegrityCheck(); $result = $integrity->checkAll(); if ($result) { - return $this->response("OK"); + return $this->response(null, 204); } throw new \Exception("Some checks failed.", 406); }