Add type to validation

This commit is contained in:
Alex Holliday committed 2025-02-10 13:43:24 -08:00
1 parent cb4e739cae
commit e0e73ce520
1 file changed
+1
+1
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()