Skip to content

Commit adc8f60

Browse files
authored
fix(parser): updated the SQSRecordSchema to make the md5OfMessageAttributes nullable (#4632)
1 parent f46ae7c commit adc8f60

File tree

1 file changed

+1
-1
lines changed
  • packages/parser/src/schemas

1 file changed

+1
-1
lines changed

packages/parser/src/schemas/sqs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const SqsRecordSchema = z.object({
4141
attributes: SqsAttributesSchema,
4242
messageAttributes: z.record(z.string(), SqsMsgAttributeSchema),
4343
md5OfBody: z.string(),
44-
md5OfMessageAttributes: z.string().optional(),
44+
md5OfMessageAttributes: z.string().optional().nullable(),
4545
eventSource: z.literal('aws:sqs'),
4646
eventSourceARN: z.string(),
4747
awsRegion: z.string(),

0 commit comments

Comments
 (0)