Skip to content

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

DEV: Fix small typo. (#15904)

Alan Guo Xiang Tan81791a821c76
diff --git a/app/services/user_stat_count_updater.rb b/app/services/user_stat_count_updater.rb
index caa1b07080a..53995d3f328 100644
--- a/app/services/user_stat_count_updater.rb
+++ b/app/services/user_stat_count_updater.rb
@@ -33,7 +33,7 @@ class UserStatCountUpdater
# to trigger an error.
if action == :decrement! && stat.public_send(column) < 1
if SiteSetting.verbose_user_stat_count_logging
- Rails.logger.warn("Attempted to insert negative count into UserStat##{column}} for post with id '#{post.id}'")
+ Rails.logger.warn("Attempted to insert negative count into UserStat##{column} for post with id '#{post.id}'")
end
return