fix(analyticsApi): we are using the correct collection now - yay
Build and Push Docker image / build-and-push (push) Has been cancelled
Details
Build and Push Docker image / build-and-push (push) Has been cancelled
Details
This commit is contained in:
parent
13d20a99e9
commit
cd33324545
|
@ -52,7 +52,7 @@ func initSessionCount(app *pocketbase.PocketBase, e *core.ServeEvent) {
|
|||
err := app.Dao().DB().
|
||||
NewQuery(`
|
||||
SELECT ` + field + ` as value, COUNT(id) AS count
|
||||
FROM analyticsPageViews
|
||||
FROM analyticsSessions
|
||||
WHERE created >= {:startDate}
|
||||
GROUP BY ` + field).
|
||||
Bind(dbx.Params{
|
||||
|
|
Loading…
Reference in New Issue