Modify data for only one element

I need help with user notifications in my app. When a user invites other user to an event, they all get added to a list “invited users” and each of them receive a notification, with the invitation that can be accepted or declined. When an invited user accepts or declines the event gets changed for everyone. How do I make it change only for one user?

Thank you

You will just move the current user from invited users to accepted users or rejected users list, assuming you have these in an event data type as well.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.