summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/services/user_cohorts_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/user_cohorts_service.rb b/app/services/user_cohorts_service.rb
index 6545ceffec6..c7909bb9e07 100644
--- a/app/services/user_cohorts_service.rb
+++ b/app/services/user_cohorts_service.rb
@@ -67,7 +67,7 @@ class UserCohortsService
@counts_by_month ||=
begin
created_at_month = column_to_date('created_at')
- current_sign_in_at_month = column_to_date('current_sign_in_at_month')
+ current_sign_in_at_month = column_to_date('current_sign_in_at')
User
.where('created_at > ?', MONTHS_INCLUDED.months.ago.end_of_month)