feat(SW-543): update requests

This commit is contained in:
Fredrik Thorsson
2024-12-19 14:32:41 +01:00
parent c976d187be
commit a7aefcded1
9 changed files with 64 additions and 42 deletions

View File

@@ -23,6 +23,7 @@ export const contactSchema = z.object({
contact_field: z.string(),
display_text: z.string().optional().nullable().default(null),
footnote: z.string().optional().nullable().default(null),
select_test: z.string(),
}),
})
.transform((data) => {
@@ -32,6 +33,7 @@ export const contactSchema = z.object({
contact_field: data.contact.contact_field,
display_text: data.contact.display_text,
footnote: data.contact.footnote,
selectTest: data.contact.select_test,
}
})
),