diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20f2ff55..dfca7de5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -346,8 +346,6 @@ importers: specifier: ^5.5.3 version: 5.8.3 - src/generated/prisma: {} - packages: '@ampproject/remapping@2.3.0': diff --git a/src/queries/sql/reports/getAttribution.ts b/src/queries/sql/reports/getAttribution.ts index e690d50f..0c3d447a 100644 --- a/src/queries/sql/reports/getAttribution.ts +++ b/src/queries/sql/reports/getAttribution.ts @@ -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