Add RECOVER_FROM_S3 to uploads:list_posts_with_broken_images rake task.

This commit is contained in:
Guo Xiang Tan
2018-09-10 15:14:30 +08:00
parent 04d26c65e2
commit 8496537590
2 changed files with 48 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ module FileStore
class S3Store < BaseStore
TOMBSTONE_PREFIX ||= "tombstone/"
attr_reader :s3_helper
def initialize(s3_helper = nil)
@s3_helper = s3_helper || S3Helper.new(s3_bucket, TOMBSTONE_PREFIX)
end