DEV: Remove unused kwarg and properly check for local missing uploads.

This commit is contained in:
Guo Xiang Tan
2019-07-29 14:21:06 +08:00
parent 49d9557337
commit 97769f3d02
3 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ class S3Inventory
def list_missing_post_uploads
log "Listing missing post uploads..."
missing = Post.find_missing_uploads(include_local_upload: false) do |post, _, _, sha1|
missing = Post.find_missing_uploads do |post, _, _, sha1|
next if sha1.blank?
upload_id = nil