mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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") }
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user