fixed getAttribution table alias typo

This commit is contained in:
Francis Cao 2025-05-08 09:15:27 -07:00
parent 3b24ea3175
commit 98eb26fd9e
2 changed files with 1 additions and 3 deletions

2
pnpm-lock.yaml generated
View file

@ -346,8 +346,6 @@ importers:
specifier: ^5.5.3
version: 5.8.3
src/generated/prisma: {}
packages:
'@ampproject/remapping@2.3.0':

View file

@ -398,7 +398,7 @@ async function clickhouseQuery(
li_fat_id != '', 'LinkedIn Ads',
twclid != '', 'Twitter Ads (X)','') name,
${currency ? 'sum(e.value)' : 'uniqExact(we.session_id)'} value
from model fm
from model m
join website_event we
on we.created_at = m.created_at
and we.session_id = m.session_id