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

Commit 2164e50

Browse files
committed
fix specs
1 parent d76d958 commit 2164e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ai_moderation/spam_scanner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def self.flagging_user
5353

5454
def self.after_cooked_post(post)
5555
return if !enabled?
56-
return if !should_scan_post(post)
56+
return if !should_scan_post?(post)
5757
return if !post.custom_fields[SHOULD_SCAN_POST_CUSTOM_FIELD]
5858
return if post.updated_at < MAX_AGE_TO_SCAN.ago
5959

0 commit comments

Comments
 (0)