From 3eda9b775ae700ac544e8c5588514627796b83cd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Apr 2022 10:22:56 +0200 Subject: Support interactive video stats graph --- server/models/view/local-video-viewer.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/models/view') diff --git a/server/models/view/local-video-viewer.ts b/server/models/view/local-video-viewer.ts index ad2ad35ca..b6ddcbb57 100644 --- a/server/models/view/local-video-viewer.ts +++ b/server/models/view/local-video-viewer.ts @@ -221,7 +221,7 @@ export class LocalVideoViewerModel extends Model { const { video, metric } = options - const { groupInterval, sqlInterval, startDate, endDate } = buildGroupByAndBoundaries(options.startDate, options.endDate) + const { groupInterval, startDate, endDate } = buildGroupByAndBoundaries(options.startDate, options.endDate) const selectMetrics: { [ id in VideoStatsTimeserieMetric ]: string } = { viewers: 'COUNT("localVideoViewer"."id")', @@ -230,9 +230,9 @@ export class LocalVideoViewerModel extends Model