mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-21 00:48:45 -05:00
add src and name to image validation
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user