diff --git a/src/routes/dashboard.js b/src/routes/dashboard.js index 01f87c8..7259bcd 100644 --- a/src/routes/dashboard.js +++ b/src/routes/dashboard.js @@ -307,18 +307,18 @@ export const dashboardRoutes = (fastify, _, done) => { type: "boolean" }, freebie_name: { - type: "string" + type: ["string", "null"] }, freebie_url: { - type: "string", + type: ["string", "null"], format: "uri" }, freebie_image_url: { - type: "string", + type: ["string", "null"], format: "uri" }, freebie_text: { - type: "string", + type: ["string", "null"] }, title: { type: "string", @@ -327,7 +327,7 @@ export const dashboardRoutes = (fastify, _, done) => { type: "string", }, domain: { - type: "string" + type: ["string", "null"] } }, required: ["id"]