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

Commit c0bc4d1

Browse files
committed
DEV: Should include current_user in log
1 parent 23f3772 commit c0bc4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/discourse_ai/admin/ai_spam_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def update
5050
)
5151
end
5252

53-
SiteSetting.set_and_log("ai_spam_detection_enabled", is_enabled)
53+
SiteSetting.set_and_log("ai_spam_detection_enabled", is_enabled, current_user)
5454
end
5555

5656
render json: AiSpamSerializer.new(spam_config, root: false)

0 commit comments

Comments
 (0)