mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: run formatter
This commit is contained in:
1 parent
8cad8f5533
commit
11fdefa2b8
1 file changed
+1
-1
@@ -371,7 +371,7 @@ App::init()
|
||||
->groups(['api'])
|
||||
->inject('project')
|
||||
->inject('mode')
|
||||
->action(function(Document $project, string $mode) {
|
||||
->action(function (Document $project, string $mode) {
|
||||
if ($mode === APP_MODE_ADMIN && $project->getId() === 'console') {
|
||||
throw new AppwriteException(AppwriteException::GENERAL_BAD_REQUEST, 'Admin mode is not allowed for console project');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user