From 47fc8072adec6dbd6b4b68c0fe855d9ff3546fac Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 5 Mar 2026 14:29:11 +0530 Subject: [PATCH] feat: allow rollup path for inbox --- app/builders/v2/reports/inbox_summary_builder.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/builders/v2/reports/inbox_summary_builder.rb b/app/builders/v2/reports/inbox_summary_builder.rb index 935afeb82..8897b2e30 100644 --- a/app/builders/v2/reports/inbox_summary_builder.rb +++ b/app/builders/v2/reports/inbox_summary_builder.rb @@ -11,11 +11,6 @@ class V2::Reports::InboxSummaryBuilder < V2::Reports::BaseSummaryBuilder attr_reader :conversations_count, :resolved_count, :avg_resolution_time, :avg_first_response_time, :avg_reply_time - def load_data - @conversations_count = fetch_conversations_count - load_reporting_events_data - end - def fetch_conversations_count account.conversations.where(created_at: range).group(group_by_key).count end