diff --git a/apps/worker/src/jobs/events.incoming-event.ts b/apps/worker/src/jobs/events.incoming-event.ts index 9dfb4fa3..898d25e6 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) { }; // 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);