0
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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