Fix lint error
parent
0493701bfc
commit
8a624eab95
|
@ -605,7 +605,7 @@ class ApiController extends Controller
|
||||||
|
|
||||||
// Make sure not running in read-only mode
|
// Make sure not running in read-only mode
|
||||||
if ($this->config->getSystemValue('memories.readonly', false)) {
|
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();
|
$userId = $user->getUid();
|
||||||
|
|
Loading…
Reference in New Issue