Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
harryo committed Feb 27, 2025
1 parent 2e84fc6 commit 4c45285
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/prisma.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ async function parseFilters(
options: QueryOptions = {},
) {
const website = await fetchWebsite(websiteId);
const joinSession = Object.keys(filters).find(key => SESSION_COLUMNS.includes(key));
const joinSession = Object.keys(filters).find(key =>
['referrer', ...SESSION_COLUMNS].includes(key),
);

return {
joinSession:
Expand Down

0 comments on commit 4c45285

Please sign in to comment.