Chore: clean up Reporting Events (#4044)

Tech debt clean up

Fixes #4057

Co-authored-by: Aswin Dev P S <aswin@chatwoot.com>
This commit is contained in:
Sojan Jose
2022-02-28 18:16:12 +05:30
committed by GitHub
parent 12c0be002e
commit 4260441f8c
21 changed files with 54 additions and 186 deletions

View File

@@ -227,7 +227,7 @@ describe ::V2::ReportBuilder do
end
it 'returns average first response time' do
label_2.events.update(value: 1.5)
label_2.reporting_events.update(value: 1.5)
params = {
metric: 'avg_first_response_time',