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
On mutations.js, deleteSong's mutation is using findOneAndRemove method which removes the wrong ID. I would suggest to switch to findByIdAndRemove, otherwise on the apollo client mutation one is forced to use the _id workaround.
On mutations.js, deleteSong's mutation is using findOneAndRemove method which removes the wrong ID. I would suggest to switch to findByIdAndRemove, otherwise on the apollo client mutation one is forced to use the _id workaround.