mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-02-04 08:08:35 -06:00
Add type to validation
This commit is contained in:
@@ -206,6 +206,7 @@ const logoImageValidation = joi
|
||||
.optional(); // Make entire object optional
|
||||
|
||||
const statusPageValidation = joi.object({
|
||||
type: joi.string().valid("uptime", "distributed").required(),
|
||||
isPublished: joi.bool(),
|
||||
companyName: joi
|
||||
.string()
|
||||
|
||||
Reference in New Issue
Block a user