fixes notification subscription based on user membership
Checklist:
New organisation:
no one gets subscribed to the auto-subscribe
New product:
only the product creator would get the weekly updates notifications
New survey:
only survey creator gets subscribed to notifications, this should be subscribed to the product's creator as well, but we don't store that value.
What does this PR do?
fixes notification subscription based on user membership
Checklist:
Fixes https://github.com/formbricks/internal/issues/239
How should this be tested?
Checklist
Required
pnpm build
console.logs
git pull origin main
Appreciated