Skip to content

Commit b52fd9f

Browse files
authored
coerce initiatedId (#919)
1 parent c51031a commit b52fd9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/data-formatters/schema/history-event-schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const parentExecutionInfoSchema = z.object({
2929
domainId: z.string(),
3030
domainName: z.string(),
3131
workflowExecution: workflowExecutionSchema.nullable(),
32-
initiatedId: z.string(),
32+
initiatedId: z.coerce.string(),
3333
});
3434

3535
const taskListSchema = z.object({
@@ -178,7 +178,7 @@ const activityTypeSchema = z.object({
178178

179179
const externalExecutionInfoSchema = z.object({
180180
workflowExecution: workflowExecutionSchema.nullable(),
181-
initiatedId: z.string(),
181+
initiatedId: z.coerce.string(),
182182
});
183183

184184
const historyEventBaseSchema = z.object({

0 commit comments

Comments
 (0)