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);