IakMastro
IakMastro
NNovu
Created by IakMastro on 1/3/2024 in #💬│support
Bug with Patch Subscriber
Hello, I have this code
notifications_api = session.get_notifications()
subscriber = SubscriberDto(
subscriber_id=body.user_id,
phone=body.phone
)
await notifications_api.update_subscriber(subscriber)
# Do something temporary with the number
subscriber = SubscriberDto(
subscriber_id=body.user_id,
phone=None
)
await notifications_api.update_subscriber(subscriber)
notifications_api = session.get_notifications()
subscriber = SubscriberDto(
subscriber_id=body.user_id,
phone=body.phone
)
await notifications_api.update_subscriber(subscriber)
# Do something temporary with the number
subscriber = SubscriberDto(
subscriber_id=body.user_id,
phone=None
)
await notifications_api.update_subscriber(subscriber)
It works fine, however instead of deleting the phone, it deletes the email. I don't think that is how it supposed to have worked.
6 replies
NNovu
Created by IakMastro on 12/1/2023 in #💬│support
How does i18n works on the emails?
Hello, I want to use the email channel to send my subscribers personalised content based on their locale. Through your documentation and the Novu platform, I see that i18n works as the backend for this functionality. How can I trigger it to send the content, for example, in Greek instead of English? I understand that I will have to use the subscriber's locale, but is anything else needed? I use SendGrid as the provider if that makes any difference.
5 replies
NNovu
Created by IakMastro on 10/20/2023 in #💬│support
Angular 16 Rough Estimation Release
Hello, do we have a rough estimation on when Angular 16 will be supported for Novu?
5 replies