From 8a624eab957df0aa2518b4e47ef019c1b549cb1b Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sat, 22 Oct 2022 10:59:54 -0700 Subject: [PATCH] Fix lint error --- lib/Controller/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/ApiController.php b/lib/Controller/ApiController.php index 2017d9ab..53d63434 100644 --- a/lib/Controller/ApiController.php +++ b/lib/Controller/ApiController.php @@ -605,7 +605,7 @@ class ApiController extends Controller // Make sure not running in read-only mode if ($this->config->getSystemValue('memories.readonly', false)) { - return new JSONResponse(["message" => "Cannot change settings in readonly mode"], Http::STATUS_FORBIDDEN); + return new JSONResponse(['message' => 'Cannot change settings in readonly mode'], Http::STATUS_FORBIDDEN); } $userId = $user->getUid();