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

Commit 52668a2

Browse files
nattswromanrizzi
andauthored
Update lib/ai_moderation/spam_metric.rb
Co-authored-by: Roman Rizzi <[email protected]>
1 parent f51bfdc commit 52668a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ai_moderation/spam_metric.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def self.update(new_status, reviewable)
1616
private
1717

1818
def self.increment(type, value = 1)
19-
metric = DiscoursePrometheus::InternalMetric::Custom.new
19+
metric = ::DiscoursePrometheus::InternalMetric::Custom.new
2020
metric.name = "discourse_ai_spam_detection"
2121
metric.type = "Counter"
2222
metric.description = "AI spam scanning statistics"

0 commit comments

Comments
 (0)