add src and name to image validation
This commit is contained in:
1 parent
52ad36d75f
commit
3eaf68aa5b
1 file changed
+2
@@ -180,6 +180,8 @@ const imageValidation = joi.object({
|
|||||||
|
|
||||||
const logoImageValidation = joi
|
const logoImageValidation = joi
|
||||||
.object({
|
.object({
|
||||||
|
src: joi.string(),
|
||||||
|
name: joi.string(),
|
||||||
type: joi
|
type: joi
|
||||||
.string()
|
.string()
|
||||||
.valid("image/jpeg", "image/png")
|
.valid("image/jpeg", "image/png")
|
||||||
|
|||||||
Reference in new issue
Block a user