Multiple feed identifiers subscription
Hi, I'm trying to fetch notifications through the novu/headless using multiple feed identifiers but it doesn't seem to be working. If I set the
feedIdentifier
value with a string it works as expected but setting in an array value for the query
parameter is failing, is there something I'm missing?8 Replies
@sandsower
Can you share the code snippet you are using?
@sandsower, you just advanced to level 3!
if I assign just the
feedId
or "all"
instead of an array I do get the messagesbut setting in an array value for the query parameter is failing, is there something I'm missing?What is the response with array or you are getting an error?
I get a
204: No Content
The request is https://api.novu.co/v1/widgets/notifications/feed?page=0&feedIdentifier=office,alldo you have "all" feedidentifier?
yes
no messages there though, just the feed
and the feed
office
has more than 10 elements, none are returned either
my understanding is that it should return both, right? since you can only assign each workflow to a specific feed, so no way to send a single workflow to both feeds