feat(analyticsApi): changed URL
Build and Push Docker image / build-and-push (push) Successful in 3m49s Details

This commit is contained in:
Valentin Kolb 2024-11-13 00:14:33 +01:00
parent cd33324545
commit 87c191c11a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import (
// "startDate": "start date in ISO 8601 format", // "startDate": "start date in ISO 8601 format",
// } // }
func initSessionCount(app *pocketbase.PocketBase, e *core.ServeEvent) { 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 // Check if user is in admin group
if err := ldapApi.UserIsInAdminGroup(app, c); err != nil { if err := ldapApi.UserIsInAdminGroup(app, c); err != nil {