Fix lint error

old-stable24
Varun Patil 2022-10-22 10:59:54 -07:00
parent 0493701bfc
commit 8a624eab95
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();