fix(crypto): replace deprecated .passthrough() with .loose() (Zod 4)
This commit is contained in:
@@ -27,7 +27,7 @@ const summaryPayloadSchema = z
|
||||
checkId: z.string().optional(),
|
||||
inspectionId: z.string().optional(),
|
||||
})
|
||||
.passthrough()
|
||||
.loose()
|
||||
|
||||
const MAX_RAW_ZIP_BYTES = 50 * 1024 * 1024
|
||||
const MAX_SINGLE_FILE_BYTES = 20 * 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user