Updated FE to allow stats by user

This commit is contained in:
alexjanousekGSA
2025-03-18 11:09:09 -04:00
parent ff65471084
commit f13ab20e93
2 changed files with 9 additions and 4 deletions

View File

@@ -220,7 +220,7 @@
var url = type === 'service'
? `/services/${currentServiceId}/daily-stats.json?timezone=${encodeURIComponent(userTimezone)}`
: `/services/${currentServiceId}/daily-stats-by-user.json`;
: `/services/${currentServiceId}/daily-stats-by-user.json?timezone=${encodeURIComponent(userTimezone)}`;
return fetch(url)