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
Only the room's creator should be able to update the room name and description, and remove other users from the room
Hence, create a separate controller to allow a logged in user to disconnect themselves (route should be /api/v1/room/user/disconnect
Also change the /api/v1/room/user/delete route to /api/v1/room/user/remove for better semantics (explains the action of one person, here the room creator, removing someone and not deleting them).
It's not competitive, as it's quite easy
The text was updated successfully, but these errors were encountered:
Small fixes;
/api/v1/room/user/disconnect
/api/v1/room/user/delete
route to/api/v1/room/user/remove
for better semantics (explains the action of one person, here the room creator, removing someone and not deleting them).It's not competitive, as it's quite easy
The text was updated successfully, but these errors were encountered: