bradwj / friend-advisor

FriendAdvisor is a mobile app with a focus on allowing friends and family to coordinate and receive text notifications about upcoming group events.
https://friendadvisor.tech
MIT License
4 stars 0 forks source link

Add cleanup to empty groups and events #39

Open bradwj opened 2 years ago

bradwj commented 2 years ago

When a request is sent to the backend for a user to be removed from a group, we can check if there are no users in the group after the user is removed, and then call the function to delete the group itself.

In the function to delete a group, we can call a function that removes any events from that group as well.