fix: fix telemetry session query failed problem
This commit is contained in:
parent
f0a1ed3cdf
commit
c5dfa15096
@ -100,7 +100,7 @@ export async function parseTelemetryFilters(
|
|||||||
typeof value !== 'undefined' && SESSION_COLUMNS.includes(key)
|
typeof value !== 'undefined' && SESSION_COLUMNS.includes(key)
|
||||||
)
|
)
|
||||||
? Prisma.sql([
|
? Prisma.sql([
|
||||||
`inner join "WebsiteSession" on "WebsiteEvent"."sessionId" = "WebsiteSession"."id"`,
|
`inner join "TelemetrySession" on "TelemetryEvent"."sessionId" = "TelemetrySession"."id"`,
|
||||||
])
|
])
|
||||||
: Prisma.empty,
|
: Prisma.empty,
|
||||||
filterQuery: getTelemetryFilterQuery(filters, options),
|
filterQuery: getTelemetryFilterQuery(filters, options),
|
||||||
|
Loading…
Reference in New Issue
Block a user