fix the build

This commit is contained in:
Arpit Jalan 2019-04-25 20:19:52 +05:30
parent a65ce81e25
commit 5a70367a05
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ task "avatars:clean" => :environment do
optimized_image_ids = OptimizedImage.where("upload_id IN (SELECT custom_upload_id FROM user_avatars) OR
upload_id IN (SELECT gravatar_upload_id FROM user_avatars) OR
upload_id IN (SELECT uploaded_avatar_id FROM users)")
.pluck(:id)
upload_id IN (SELECT uploaded_avatar_id FROM users)").pluck(:id)
optimized_image_ids.each do |id|
begin