DEV: Remove unused line of code.

This commit is contained in:
Guo Xiang Tan
2019-05-02 16:08:12 +08:00
parent 75591664e7
commit ebca588fd0
3 changed files with 2 additions and 3 deletions

View File

@ -130,7 +130,7 @@ class UploadCreator
end
if @upload.errors.empty? && is_image && @opts[:type] == "avatar" && @upload.extension != "svg"
Jobs.enqueue(:create_avatar_thumbnails, upload_id: @upload.id, user_id: user_id)
Jobs.enqueue(:create_avatar_thumbnails, upload_id: @upload.id)
end
if @upload.errors.empty?