NovuN
Novu13mo ago
Sigex

Headless service `fetchNotifications` should accept 'archived' filter

Really need this to be merged.

https://github.com/novuhq/novu/pull/7136

It's to add the archived filter onto the fetch Notifications. It's already on getFilterQueryForMessage() just need to add it in a couple of other places. Mainly apps/api/src/app/subscribers/dtos/get-in-app-notification-feed-for-subscriber.dto.ts
GitHub
What changed? Why was the change needed?
The fetchNotifications() within headless.service.ts uses the type IStoreQuery for the query. But this property does not have archived: boolean even though ...
Was this page helpful?