Open phlrss opened 1 year ago
can I pick up this up @jainpawan21
Sure assigned to you @peoray
@jainpawan21 how can I produce this to see the end result from the endpoint. My data property returns an empty array all the time. Seems I have to do other things first to produce data it can use. Can you help?
@ainouzgali can you help with this?
@peoray all you need to reproduce is to create a template with an in-app step and then trigger it. So when you query that endpoint, template in response should be populated. Right now, it will always return an empty array.
I believe the solution will be to populate template here
@ainouzgali Thank you. Are there specific fields to be returned or I just return everything?
@phlrss what fields do you want to be returned so that we don't return the whole object cause of performance
@phlrss what fields do you want to be returned so that we don't return the whole object cause of performance
hey! sorry for the delay, we would at the very least need the template.triggerId
and the group
🙏 both are important
Is anyone working on it? If not, could you please assign it to me?
hi 👋 i see a few people have volunteered to work on this but it doesn't look like it's completed. Any update?
Hi @jainpawan21 @phlrss , I have worked on this issue . PR for this is created - let me know how this can be tested throughly
Can this PR be assigned to me ? Should I make my PR a draft as it is not assigned to me rn
📜 Description
the API docs show an optional
template
object in response to theGET feed
endpoint, but there is no way to specify it in the request and it is missing from the resopnse👟 Reproduction steps
call the
GET feed
endpoint here: https://docs.novu.co/api/get-a-notification-feed-for-a-particular-subscriber/👍 Expected behavior
expected to have the
template
object or at least be able to specify that we want it in the request👎 Actual Behavior with Screenshots
it is missing from the response completely :(
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
NV-2295