feat(analyticsApi): changed URL
Build and Push Docker image / build-and-push (push) Successful in 3m49s
Details
Build and Push Docker image / build-and-push (push) Successful in 3m49s
Details
This commit is contained in:
parent
cd33324545
commit
87c191c11a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue