plezanje-net / api

NestJS GraphQL web server
GNU General Public License v3.0
7 stars 2 forks source link

#438 Add option to delete an image #148

Closed NejcS closed 1 year ago

NejcS commented 1 year ago

438

This PR adds a mutation for deleting a crag or route image. The mutation will delete the image entry from the DB and all of the matching images on the disk.

You can test it with the matching web PR.

NejcS commented 1 year ago

I pushed the change and also added back package "graphql" since it was a peer dependency to a couple of other packages and the build was failing.