update comment position

This commit is contained in:
2025-06-09 21:54:51 +02:00
parent afd3541d4d
commit aacc815676

View File

@ -9,10 +9,10 @@ export const signup = {
input: z.object({
firstname: z.string().trim().min(2),
lastname: z.string().trim().min(2),
// this will be inaccurate as it is evaluated only once
birthday: z
.string()
.date()
// this will be inaccurate as it is evaluated only once
.max(Date.now() - 1000 * 60 * 60 * 24 * 365 * 6),
phone: z.string().trim().nullable(),
username: z.string().trim(),