Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 0695d4c

Browse files
committed
fix tests, rename setting 8
1 parent 48f6956 commit 0695d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/summarization/entry_point.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def inject_into(plugin)
3939
# jobs if the feature is disabled.
4040
plugin.on(:post_created) do |post|
4141
if SiteSetting.discourse_ai_enabled && SiteSetting.ai_summarization_enabled &&
42-
SiteSetting.ai_summary_gists_enabled > 0 && post.topic
42+
SiteSetting.ai_summary_gists_enabled && post.topic
4343
Jobs.enqueue(:fast_track_topic_gist, topic_id: post&.topic_id)
4444
end
4545
end

0 commit comments

Comments
 (0)