This commit is contained in:
Carl-Gerhard Lindesvärd
2024-08-11 22:48:22 +02:00
parent fd92e703e4
commit c82247143c

View File

@@ -47,7 +47,7 @@ export async function incomingEvent(job: Job<EventsQueuePayloadIncomingEvent>) {
}; };
// this will get the profileId from the alias table if it exists // 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 createdAt = new Date(body.timestamp);
const url = getProperty('__path'); const url = getProperty('__path');
const { path, hash, query, origin } = parsePath(url); const { path, hash, query, origin } = parsePath(url);