Skip to content

Commit 47c08ed

Browse files
CCM-10442: Make createdBy and updatedBy optional in event schema
1 parent bd1ca95 commit 47c08ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/event-publisher/src/domain/output-schemas.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ const $BaseDataFields = z.object({
2929
id: z.string(),
3030
clientId: z.string().optional(),
3131
createdAt: z.string(),
32-
createdBy: z.string(),
32+
createdBy: z.string().optional(),
3333
name: z.string(),
3434
templateStatus: z.enum(TEMPLATE_STATUS_LIST),
3535
updatedAt: z.string(),
36-
updatedBy: z.string(),
36+
updatedBy: z.string().optional(),
3737
});
3838

3939
const $EmailDataFields = $BaseDataFields.merge(

0 commit comments

Comments
 (0)