Open yano1978 opened 2 years ago
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.