Can someone let me know what I am doing wrong. I a...
# orm-help
p
Can someone let me know what I am doing wrong. I am trying to subscribe to updates on a specific user like so.
return prisma.$subscribe.user({ where: { mutation_in: ["UPDATED"], node: { id: id } } }).node();
however, nothing happens when I update the user. If I remove the
node: { id: id }
part it works, but also gets updates of other users. Can someone give me some tips?
r
@Philipp Rajah Moura Srivastava Your syntax looks correct, so I would have to check the code to reproduce the issue you're facing.
p
Thanks!, I removed the where and just put in
{ mutation_in: ["UPDATED"], node: { id: id } }
and that seems to work
👍 1