From eea5d610babe41422f060da4f65388fd9f2f3665 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 23 Jul 2024 23:54:52 +0400 Subject: [PATCH] feat: linter --- app/controllers/shared/api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/shared/api.php b/app/controllers/shared/api.php index e3e123e5a3..896df9bb37 100644 --- a/app/controllers/shared/api.php +++ b/app/controllers/shared/api.php @@ -177,7 +177,7 @@ App::init() var_dump("Mode : " . $mode); var_dump(Auth::getRoles($user)); - /** + /** * API Key Authentication */ $authKey = $request->getHeader('x-appwrite-key', ''); @@ -232,7 +232,7 @@ App::init() } } } - /** + /** * Admin User Authentication */ elseif (APP_MODE_ADMIN === $mode && $project->getId() !== 'console') { @@ -271,7 +271,7 @@ App::init() Authorization::setRole(Auth::USER_ROLE_DEVELOPER); Authorization::setDefaultStatus(false); } - + $scopes = \array_unique($scopes); var_dump("##### Admin Scopes ######"); var_dump($scopes);