Commit 0d7645e1 authored by Sean McGivern's avatar Sean McGivern Committed by Rémy Coutable

Fix column name in user cohorts

parent a4a8f0db
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment