Skip to content

Commit

Permalink
fix: change uploader tag logic
Browse files Browse the repository at this point in the history
`#` cloudinary is now reflected depends on resources
  • Loading branch information
laigasus committed Apr 28, 2024
1 parent 89b445d commit cec3baf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ public void deleteResourcesWhereTagIsTemp() {
public void tagAs(List<Path> paths, String tag) {
List<String> publicIds = getPublicIds(paths);

if (publicIds.isEmpty()) {
return;
}

try {
cloudinary.uploader().replaceTag(
tag,
Expand Down

0 comments on commit cec3baf

Please sign in to comment.