Remove TODO
This commit is contained in:
parent
4a9ccfd25e
commit
99bff99f07
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user