From 887b187b3dfea515698529deab635967f934ef51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Fri, 9 Aug 2024 09:25:20 +0200 Subject: [PATCH] fix --- apps/worker/src/jobs/events.incoming-event.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/worker/src/jobs/events.incoming-event.ts b/apps/worker/src/jobs/events.incoming-event.ts index 80e15641..0970c47a 100644 --- a/apps/worker/src/jobs/events.incoming-event.ts +++ b/apps/worker/src/jobs/events.incoming-event.ts @@ -47,10 +47,11 @@ export async function incomingEvent(job: Job) { }; // this will get the profileId from the alias table if it exists - const profileId = await getProfileIdCached({ - profileId: body.profileId, - projectId, - }); + // const profileId = await getProfileIdCached({ + // profileId: body.profileId, + // projectId, + // }); + const profileId = body.profileId ? String(body.profileId) : ''; const createdAt = new Date(body.timestamp); const url = getProperty('__path'); const { path, hash, query, origin } = parsePath(url);