DEV: include local uploads while finding missing uploads
in rake task 'posts:missing_uploads'
This commit is contained in:
parent
7b82850f66
commit
338b927f95
|
@ -395,7 +395,7 @@ end
|
|||
def missing_uploads
|
||||
old_scheme_upload_count = 0
|
||||
|
||||
missing = Post.find_missing_uploads do |post, src, path, sha1|
|
||||
missing = Post.find_missing_uploads(include_local_upload: true) do |post, src, path, sha1|
|
||||
next if sha1.present?
|
||||
|
||||
upload_id = nil
|
||||
|
|
Loading…
Reference in New Issue