mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
chore: rename env variable
This commit is contained in:
1 parent
dc6f9e6d59
commit
2ff7c5ac8e
3 files changed
+3
-3
No files matched your search
@@ -61,7 +61,7 @@ class Messaging extends Action
|
||||
}
|
||||
|
||||
Console::log($payload['project']['$id']);
|
||||
$denyList = App::getEnv('_APP_SMS_DENY_LIST', '');
|
||||
$denyList = App::getEnv('_APP_SMS_PROJECTS_DENY_LIST', '');
|
||||
$denyList = explode(',', $denyList);
|
||||
if (in_array($payload['project']['$id'], $denyList)) {
|
||||
Console::error("Project is in the deny list. Skipping ...");
|
||||
|
||||
Reference in new issue
Block a user