Remove TODO

This commit is contained in:
Alex Gryczewski 2023-09-12 11:16:26 -04:00
parent 4a9ccfd25e
commit 99bff99f07

View File

@ -63,7 +63,6 @@ public class GalleryController {
return ResponseEntity.ok(updatedGallery);
}
// TODO: Delete mapping
@DeleteMapping()
public ResponseEntity<Map<String, Boolean>> deleteGallery(@PathVariable(value = "id") Long galleryId) throws ResourceNotFoundException {
Gallery gallery = galleryRepository.findById(galleryId).orElseThrow(() -> new ResourceNotFoundException("Gallery not found for id :: " + galleryId));