Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Alex Gleason 2023-12-23 20:30:56 +00:00 committed by marcin mikołajczak
parent 4a6a76ddd9
commit 19dec9c90e

View file

@ -180,7 +180,7 @@ const instanceV1Schema = coerceObject({
version: z.string().catch('0.0.0'),
});
const instanceSchema = z.preprocess((data: any) => {
const instanceSchema = z.preprocess((data: unknown) => {
if (data.domain) return data;
const {