added nullable params to website

This commit is contained in:
Omer Sabic 2024-06-07 21:34:52 +02:00
parent 89f44aad7d
commit 48bae83521

View File

@ -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"]