Skip to content

Commit 5b88698

Browse files
committed
fix(audit-log): add workspaceId to deployment activation audit
1 parent b0aca7c commit 5b88698

File tree

1 file changed

+1
-0
lines changed
  • apps/sim/app/api/workflows/[id]/deployments/[version]

1 file changed

+1
-0
lines changed

apps/sim/app/api/workflows/[id]/deployments/[version]/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ export async function PATCH(
299299
}
300300

301301
recordAudit({
302+
workspaceId: (workflowData as Record<string, unknown>)?.workspaceId as string | undefined,
302303
actorId: actorUserId,
303304
actorName: session?.user?.name,
304305
actorEmail: session?.user?.email,

0 commit comments

Comments
 (0)