mirror of
https://github.com/discourse/discourse.git
synced 2025-06-14 06:12:55 +08:00
Fix broken spec.
This commit is contained in:
@ -130,7 +130,7 @@ module Jobs
|
|||||||
changes = { raw: raw, edit_reason: I18n.t("upload.edit_reason") }
|
changes = { raw: raw, edit_reason: I18n.t("upload.edit_reason") }
|
||||||
post.revise(Discourse.system_user, changes, bypass_bump: true)
|
post.revise(Discourse.system_user, changes, bypass_bump: true)
|
||||||
elsif has_downloaded_image || has_new_large_image || has_new_broken_image
|
elsif has_downloaded_image || has_new_large_image || has_new_broken_image
|
||||||
post.trigger_post_process(true)
|
post.trigger_post_process(bypass_bump: true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user