You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accepting an invite will perform different operations on the backend and database depending on the type of invite that's being accepted, so those procedures will live in under the router where they make most sense. For example, the procedure for accepting a staff team invite will add that user to the tournament's staff team so it'll go under the staff members router.
For each procedure:
All inputs listed are required/must be defined unless stated with
?
appended at the end of the variable name.Cancel invite
Update
Invite.status
tocancelled
.Input:
inviteId
.Conditions
byUserId
must be of the session user.pending
.Reject invite
Update
Invite.status
torejected
.Input:
inviteId
.Conditions
toUserId
must be of the session user.pending
.The text was updated successfully, but these errors were encountered: