Delete subscriber does not delete their notifications
I am deleting the test subscribers when re-seeding the db with the following code:
The promises all seem to resolve successfully. But when I recreate the subscribers, the ones that take on an ID of a previously existing subscriber have their notifications show up. The docs suggest that deleting a subscriber will cascade on their notifications so I'm not sure what the problem is. Could it have to do with active/pending notifications?
Note that even though the notification shows up and is returned from the get sub notifications API, when I tried to act on it, I got the following 400 error:
The promises all seem to resolve successfully. But when I recreate the subscribers, the ones that take on an ID of a previously existing subscriber have their notifications show up. The docs suggest that deleting a subscriber will cascade on their notifications so I'm not sure what the problem is. Could it have to do with active/pending notifications?
Note that even though the notification shows up and is returned from the get sub notifications API, when I tried to act on it, I got the following 400 error:
message: "Message with the id: 660bd381d787d568ef3afe3b was not found for this environment. Make sure to address correct message before trying t…".Novu
Novu is an open-source notification infrastructure, built for engineering teams to help them build rich product notification experiences.