Skip to content

Commit 4155bd4

Browse files
committed
fix(s3): allow exists:false in head-object response contract (schema must match the missing-object output)
1 parent 062eb50 commit 4155bd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/api/contracts/tools/aws/s3-head-object.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const S3HeadObjectSchema = z.object({
1818
const S3HeadObjectResponseSchema = z.object({
1919
success: z.literal(true),
2020
output: z.object({
21-
exists: z.literal(true),
21+
exists: z.boolean(),
2222
contentLength: z.number().nullable(),
2323
contentType: z.string().nullable(),
2424
etag: z.string().nullable(),

0 commit comments

Comments
 (0)