added nullable params to website
This commit is contained in:
parent
89f44aad7d
commit
48bae83521
@ -307,18 +307,18 @@ export const dashboardRoutes = (fastify, _, done) => {
|
|||||||
type: "boolean"
|
type: "boolean"
|
||||||
},
|
},
|
||||||
freebie_name: {
|
freebie_name: {
|
||||||
type: "string"
|
type: ["string", "null"]
|
||||||
},
|
},
|
||||||
freebie_url: {
|
freebie_url: {
|
||||||
type: "string",
|
type: ["string", "null"],
|
||||||
format: "uri"
|
format: "uri"
|
||||||
},
|
},
|
||||||
freebie_image_url: {
|
freebie_image_url: {
|
||||||
type: "string",
|
type: ["string", "null"],
|
||||||
format: "uri"
|
format: "uri"
|
||||||
},
|
},
|
||||||
freebie_text: {
|
freebie_text: {
|
||||||
type: "string",
|
type: ["string", "null"]
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
type: "string",
|
type: "string",
|
||||||
@ -327,7 +327,7 @@ export const dashboardRoutes = (fastify, _, done) => {
|
|||||||
type: "string",
|
type: "string",
|
||||||
},
|
},
|
||||||
domain: {
|
domain: {
|
||||||
type: "string"
|
type: ["string", "null"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
required: ["id"]
|
required: ["id"]
|
||||||
|
Loading…
Reference in New Issue
Block a user