diff --git a/analyticsApi/main.go b/analyticsApi/main.go index 0d32977..c37e45c 100644 --- a/analyticsApi/main.go +++ b/analyticsApi/main.go @@ -23,7 +23,7 @@ import ( // "startDate": "start date in ISO 8601 format", // } func initSessionCount(app *pocketbase.PocketBase, e *core.ServeEvent) { - e.Router.GET("/api/analytics/count", func(c echo.Context) error { + e.Router.GET("/api/analytics/aggregateCount", func(c echo.Context) error { // Check if user is in admin group if err := ldapApi.UserIsInAdminGroup(app, c); err != nil {