add src and name to image validation

This commit is contained in:
Alex Holliday
2025-02-07 14:40:33 -08:00
parent 52ad36d75f
commit 3eaf68aa5b
+2
View File
@@ -180,6 +180,8 @@ const imageValidation = joi.object({
const logoImageValidation = joi
.object({
src: joi.string(),
name: joi.string(),
type: joi
.string()
.valid("image/jpeg", "image/png")