chore: rename env variable

This commit is contained in:
Christy Jacob
2024-01-29 20:07:17 +00:00
parent dc6f9e6d59
commit 2ff7c5ac8e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 ...");