Fix workspace-member-id missing from database events (#15819)

As title
This commit is contained in:
martmull
2025-11-14 15:03:49 +01:00
committed by GitHub
parent b3d85623e6
commit f13c36234f
4 changed files with 17 additions and 0 deletions
@@ -19,6 +19,8 @@ export type CallWebhookJobData = {
workspaceId: string;
webhookId: string;
eventDate: Date;
userId?: string;
workspaceMemberId?: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
record: any;
updatedFields?: string[];
@@ -38,6 +38,8 @@ export const transformEventBatchToWebhookEvents = ({
workspaceId,
webhookId,
eventDate,
userId: eventData.userId,
workspaceMemberId: eventData.workspaceMemberId,
record,
...(updatedFields && { updatedFields }),
secret,