RED-7500 - Delete file from storage when deleting download status #91
@ -181,6 +181,7 @@ public class DownloadController implements DownloadResource {
|
||||
|
||||
removeDownloadRequest.getStorageIds().forEach(storageId -> {
|
||||
downloadService.deleteDownloadStatus(JSONPrimitive.of(storageId));
|
||||
fileManagementStorageService.deleteObject(storageId);
|
||||
auditPersistenceService.audit(AuditRequest.builder()
|
||||
.userId(KeycloakSecurity.getUserId())
|
||||
.objectId(storageId)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user