1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 14:28:24 +09:00
This commit is contained in:
Hugo Gameiro 2024-10-30 10:44:43 +00:00 committed by GitHub
parent fbaca0c953
commit a5ac53d326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,11 +151,9 @@ module Mastodon::CLI
end
end
when :fog
paperclip_instance = MediaAttachment.new.file
fog_directory = Paperclip::Attachment.default_options[:fog_directory]
connection = Fog::Storage.new(Paperclip::Attachment.default_options[:fog_credentials])
directory = connection.directories.get(fog_directory)
last_key = options[:start_after]
loop do