Skip to content

Commit 55fb5a5

Browse files
committed
feat: Update analytics to include total participants and moderators in overview
1 parent 5865645 commit 55fb5a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/analytics/analytics.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,13 +244,13 @@ export class AnalyticsService {
244244
leaves: parseInt(presenceLeaves || '0', 10),
245245
},
246246
participants: {
247+
total: parseInt(totalParticipants || '0', 10),
248+
moderators: parseInt(totalModerators || '0', 10),
249+
},
247250
polls: {
248251
totalCreated: parseInt(totalPolls || '0', 10),
249252
totalVotes: parseInt(totalPollVotes || '0', 10),
250253
totalClosed: parseInt(totalPollsClosed || '0', 10),
251-
},
252-
total: parseInt(totalParticipants || '0', 10),
253-
moderators: parseInt(totalModerators || '0', 10),
254254
},
255255
typing: {
256256
events: parseInt(typingEvents || '0', 10),

0 commit comments

Comments
 (0)