Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENV variable ENABLE_NOTIFICATIONS #121

Open
ketan404 opened this issue Jan 23, 2023 · 0 comments
Open

ENV variable ENABLE_NOTIFICATIONS #121

ketan404 opened this issue Jan 23, 2023 · 0 comments

Comments

@ketan404
Copy link
Member

Would like to change the environment variable and corresponding code to
NOTIFICATION_CHANNELS="email,slack,xxxxx"
The new code should check if the above env variable is not empty. If it is not, then the notifications should be triggered.

Also, the method "via" in notification class should get the value of the env var, explode on comma and return the array of delivery channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant