Removed a TODO and some whitespace.

This commit is contained in:
Jesse Brault 2024-07-23 08:36:44 -05:00
parent d4da12c349
commit a264b10cdb
2 changed files with 3 additions and 1 deletions

View File

@ -168,4 +168,6 @@ public class S3ImageServiceTests {
}
}
}

View File

@ -141,7 +141,7 @@ public class S3ImageService implements ImageService {
@PreAuthorize("@imageSecurity.isOwner(#image, #owner)")
public void deleteImage(Image image, User owner) throws IOException {
this.imageRepository.delete((ImageEntity) image);
this.s3Manager.delete("images", image.getObjectName()); // TODO
this.s3Manager.delete("images", image.getObjectName());
}
@Override