OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix
Carl-Gerhard Lindesvärdc82247143cc1
diff --git a/apps/worker/src/jobs/events.incoming-event.ts b/apps/worker/src/jobs/events.incoming-event.tsindex 9dfb4fa3e..898d25e6b 100644--- a/apps/worker/src/jobs/events.incoming-event.ts+++ b/apps/worker/src/jobs/events.incoming-event.ts@@ -47,7 +47,7 @@ export async function incomingEvent(job: Job<EventsQueuePayloadIncomingEvent>) {};// this will get the profileId from the alias table if it exists- const profileId = body.profileId ?? '';+ const profileId = body.profileId ? String(body.profileId) : '';const createdAt = new Date(body.timestamp);const url = getProperty('__path');const { path, hash, query, origin } = parsePath(url);