mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:03:39 +08:00
Fix broken spec.
This commit is contained in:
parent
434035f167
commit
b6a139b581
|
@ -130,7 +130,7 @@ module Jobs
|
|||
changes = { raw: raw, edit_reason: I18n.t("upload.edit_reason") }
|
||||
post.revise(Discourse.system_user, changes, bypass_bump: true)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user