fix
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
b02cbb2946
commit
887b187b3d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user