made contact email optional

This commit is contained in:
Omer Sabic 2024-08-25 15:02:35 +02:00
parent a458d20679
commit e222cec776

View File

@ -405,7 +405,7 @@ export const dashboardRoutes = (fastify, _, done) => {
type: "boolean" type: "boolean"
}, },
contact_email: { contact_email: {
type: "string", type: ["string", "null"],
format: "email" format: "email"
} }
}, },