Skip to content

A platform for community discussion. Free, open, simple.

Fix broken spec.

Guo Xiang Tanb6a139b58182
diff --git a/app/jobs/regular/pull_hotlinked_images.rb b/app/jobs/regular/pull_hotlinked_images.rb
index 1acefc21fc2..cc9cc0593f9 100644
--- a/app/jobs/regular/pull_hotlinked_images.rb
+++ b/app/jobs/regular/pull_hotlinked_images.rb
@@ -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