mirror of
https://github.com/documenso/documenso
synced 2026-04-21 13:27:18 +00:00
fix(recipient): filter invalid emails in suggestions (#2510)
This commit is contained in:
parent
455fef70bd
commit
f48aa84c9e
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ export const ZGetRecipientSuggestionsResponseSchema = z.object({
|
|||
results: z.array(
|
||||
z.object({
|
||||
name: z.string().nullable(),
|
||||
email: z.string().email(),
|
||||
email: z.union([z.string().email(), z.literal('')]),
|
||||
}),
|
||||
),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue