Fix lint error

old-stable24
Varun Patil 2022-10-22 10:59:54 -07:00
parent 5efc2468bd
commit 900baeea47
1 changed files with 1 additions and 1 deletions

View File

@ -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();