refactor: update company registration flow and email handling; switch to zod for validation
This commit is contained in:
@@ -5,7 +5,7 @@ export const MailerSchema = z
|
||||
to: z.string().email(),
|
||||
// this is not necessarily formatted
|
||||
// as an email so we type it loosely
|
||||
from: z.string().min(1),
|
||||
from: z.string().min(1).optional(),
|
||||
subject: z.string(),
|
||||
})
|
||||
.and(
|
||||
|
||||
Reference in New Issue
Block a user