Add type to validation

This commit is contained in:
Alex Holliday
2025-02-10 13:43:24 -08:00
parent cb4e739cae
commit e0e73ce520

View File

@@ -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()