From e222cec77671aa7dd4038a2a23cf81927672dc7f Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Sun, 25 Aug 2024 15:02:35 +0200 Subject: [PATCH] made contact email optional --- src/routes/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/dashboard.js b/src/routes/dashboard.js index e4b68e8..49446c8 100644 --- a/src/routes/dashboard.js +++ b/src/routes/dashboard.js @@ -405,7 +405,7 @@ export const dashboardRoutes = (fastify, _, done) => { type: "boolean" }, contact_email: { - type: "string", + type: ["string", "null"], format: "email" } },