From 2bc85e4708a533d719a0f609a231b20cb1bd1049 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Wed, 11 Jan 2023 17:12:29 +0530 Subject: [PATCH] feat: linter fixes --- app/controllers/api/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/account.php b/app/controllers/api/account.php index 33a4d53afe..33f260e8e3 100644 --- a/app/controllers/api/account.php +++ b/app/controllers/api/account.php @@ -80,7 +80,7 @@ App::post('/v1/account/invite') $whitelistCodes = (!empty(App::getEnv('_APP_CONSOLE_WHITELIST_CODES', null))) ? \explode(',', App::getEnv('_APP_CONSOLE_WHITELIST_CODES', null)) : []; if (!empty($whitelistCodes) && !\in_array($code, $whitelistCodes)) { - throw new Exception(Exception::USER_CODE_INVALID); + throw new Exception(Exception::USER_CODE_INVALID); } }