mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: linter fixes
This commit is contained in:
1 parent
9f9daf900a
commit
2bc85e4708
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user