-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting channels creates orphans records #70
Comments
We do remove the channel everywhere it is favorited here https://github.com/internet4000/radio4000/blob/master/app/channel/delete/controller.js#L45 But tracks we don't touch… I think we should also remove them. Without a channel they're useless. Thoughts? |
Maybe it is better to do a firebase function that:
Same for delete account (if no channel || already deleted):
|
So a couple of findings..
Returns a rejected However, you can still inspect something with
When you iterate through the |
When a user decides to delete their channel, it creates orphan records of two types:
There is therefore some errors when loading a channel that has favorite that do no longer not exist
The text was updated successfully, but these errors were encountered: