enable cropper

This commit is contained in:
r888888888
2017-09-12 12:09:07 -07:00
parent ac76398685
commit 31a3baf2b9

View File

@@ -142,7 +142,7 @@ class Upload < ApplicationRecord
User.where(id: CurrentUser.id).update_all("post_upload_count = post_upload_count + 1")
create_artist_commentary(post) if include_artist_commentary?
ugoira_service.save_frame_data(post) if is_ugoira?
#notify_cropper(post)
notify_cropper(post)
update_attributes(:status => "completed", :post_id => post.id)
else
update_attribute(:status, "error: " + post.errors.full_messages.join(", "))