N
Novuβ€’2mo ago
djsteve2640

πŸ”΄ Novu updateAction API Updates Successfully But Not Persisting After Refetch

I'm using Novu's updateAction API to mark a notification action as completed. The API call succeeds, and the response includes the updated notification data. However, when I refetch the notifications using fetchNotifications, the updated action status is not reflected, and it appears as if the action was never clicked. πŸ“Œ API Reference: updateAction Documentation https://v0.x-docs.novu.co/notification-center/client/headless/api-reference#updateaction Using Novu version 0.24.0
11 Replies
Pawan Jain
Pawan Jainβ€’2mo ago
@djsteve2640 Are you using novu cloud?
djsteve2640
djsteve2640OPβ€’2mo ago
No. Its self hosted
Pawan Jain
Pawan Jainβ€’2mo ago
@djsteve2640 There is a bug in that version for this API.
djsteve2640
djsteve2640OPβ€’2mo ago
Alright. So which version should I upgrade to that has this fix ?
Pawan Jain
Pawan Jainβ€’2mo ago
unfortunately, we don't have a fix yet
djsteve2640
djsteve2640OPβ€’2mo ago
Is there any work around for this ? Hey @Pawan Jain . Is there other way to update the notification button and get the updated notification in the feed ?
Pawan Jain
Pawan Jainβ€’2mo ago
@djsteve2640 Currently, there is no workaround. I will keep you updated once we fix this
djsteve2640
djsteve2640OPβ€’2mo ago
Ok. Thanks for the update
Novu_Bot
Novu_Botβ€’2mo ago
@djsteve2640, you just advanced to level 2!
Pawan Jain
Pawan Jainβ€’3w ago
@djsteve2640 We released 0.24.7 tagged docker images, you can upgrade to this tag, this bug is fixed in that version
djsteve2640
djsteve2640OPβ€’3w ago
Wow. That's great. Will upgrade it. Thanks for pushing the fix. πŸ‘

Did you find this page helpful?