-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 Bug Report: Subscriber level preference does not work #6548
Comments
I see workflow with id |
@jainpawan21 sorry for late response. i still have the the issue as of 29/10/2024; My feeling is that, the function i have subscriber id and workflow Id below,
and i changed subscriber's preference, changed the push channel to false;
then i will trigger a workflow to send push notification.
|
@jainpawan21 any thoughts? |
📜 Description
I have a subscriber (ID: 66e0d1f3cf609b1343ed9e8e) and a workflow (ID: 66ecdd18a17d00ef6f792cab) configured to send email and push notifications. I've explicitly set the subscriber's email and push channel preferences to false using the code below.
However, when I trigger workflow 66ecdd18a17d00ef6f792cab for this subscriber, I still receive both email and push notifications, contrary to my expectation.
👟 Reproduction steps
👍 Expected behavior
Since the subscriber's preferences indicate they should not receive email and push notifications, triggering the workflow should not result in any notifications being sent to them.
👎 Actual Behavior with Screenshots
When I trigger workflow 66ecdd18a17d00ef6f792cab for this subscriber, I still receive both email and push notifications, contrary to my expectation.
Novu version
local installation @novu/node version 2.0.1
npm version
10.7.0
node version
v18.20.4
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: