alexander-mathieu / crowdhound_be

Crowdhound connects dog owners with local people that would love the opportunity to chill with a dog for an afternoon or a few days, without having the responsibility 24/7/365.
https://crowdhound.herokuapp.com/
1 stars 1 forks source link

Add destroyDog mutation #78

Closed alexander-mathieu closed 5 years ago

alexander-mathieu commented 5 years ago

Grab the user from the token provided as a query param, grab the dog from ID provided as a mutation argument, and destroy the dog in the database. If no user is found, return an error message.