From 87c191c11a0c4108e27a18262a35af6e9c7f2998 Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Wed, 13 Nov 2024 00:14:33 +0100 Subject: [PATCH] feat(analyticsApi): changed URL --- analyticsApi/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {