Skip to content

Commit

Permalink
adding bucket rollback on multi-upload
Browse files Browse the repository at this point in the history
  • Loading branch information
LuciaM1 committed Sep 23, 2024
1 parent d949e3b commit 0292bda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public Uni<List<String>> createResourceMultiple(List<ResourceEntity> resourceEnt
if (!errors.isEmpty()) {
return deleteResourcesFromStorage(uploadedFiles, errors);
}
return errors; // This will be empty if no errors occurred
return Uni.createFrom().item(errors); // This will be empty if no errors occurred
});
}

Expand Down

0 comments on commit 0292bda

Please sign in to comment.