Storage: add :azure to remaining callers (#26080)

This commit is contained in:
Misty De Méo
2023-07-27 07:13:45 -07:00
committed by GitHub
parent 6c3c5bbbc3
commit 12a6cf569e
6 changed files with 16 additions and 3 deletions

View File

@@ -76,6 +76,9 @@ class AttachmentBatch
when :fog
logger.debug { "Deleting #{attachment.path(style)}" }
attachment.directory.files.new(key: attachment.path(style)).destroy
when :azure
logger.debug { "Deleting #{attachment.path(style)}" }
attachment.destroy
end
end
end