OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix
Carl-Gerhard Lindesvärd887b187b3dfe
diff --git a/apps/worker/src/jobs/events.incoming-event.ts b/apps/worker/src/jobs/events.incoming-event.tsindex 80e15641e..0970c47ad 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<EventsQueuePayloadIncomingEvent>) {};// 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);