fix: base scope

This commit is contained in:
Shivam Mishra
2026-01-21 20:52:20 +05:30
parent e5cbc174d5
commit e06a15a432
+1 -1
View File
@@ -24,7 +24,7 @@ class SankeyDataGenerator
private
def base_scope
ReportingEvent.where(account_id: @account_id).where('created_at >= ?', @days.days.ago)
ReportingEvent.where(account_id: @account_id).where('conversation_created_at >= ?', @days.days.ago)
end
def conversation_created