mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Fix Prisma raw query syntax in getEventStats
This commit is contained in:
parent
fa54d0b2b8
commit
8c7700c76a
1 changed files with 1 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ export async function getEventStats(
|
|||
// Extract timezone from filters to ensure consistent timezone usage
|
||||
const { timezone = 'utc' } = filters;
|
||||
|
||||
// Fix the Prisma raw query syntax
|
||||
return prisma.$queryRaw`
|
||||
select
|
||||
count(*) as count,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue