Lyrical-GraphQL
Lyrical-GraphQL copied to clipboard
deleteSong mutation removing wrong id
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.