Merge remote-tracking branch 'parent/main' into upstream-20240225
This commit is contained in:
commit
a72160b66f
115 changed files with 1002 additions and 731 deletions
|
@ -6,6 +6,8 @@ class BackupService < BaseService
|
|||
include Payloadable
|
||||
include ContextHelper
|
||||
|
||||
CHUNK_SIZE = 1.megabyte
|
||||
|
||||
attr_reader :account, :backup
|
||||
|
||||
def call(backup)
|
||||
|
@ -181,8 +183,6 @@ class BackupService < BaseService
|
|||
).as_json
|
||||
end
|
||||
|
||||
CHUNK_SIZE = 1.megabyte
|
||||
|
||||
def download_to_zip(zipfile, attachment, filename)
|
||||
adapter = Paperclip.io_adapters.for(attachment)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue