NovuN
Novu3y ago
empe

How to find my feedId?

When fetching notifications via the headless library - I see that the feedId: null

I want to call the following function:
headlessService.markAllMessagesAsRead({
  listener: (result: UpdateResult<number, unknown, undefined>) => {
    console.log(result);
  },
  onSuccess: (count: number) => {
    console.log(count);
  },
  onError: (error: unknown) => {
    console.error(error);
  },
  feedId: ['feedOne', 'feedTwo'],
});
Screenshot_2023-05-09_at_13.24.04.png
Was this page helpful?