Added back missing check
This commit is contained in:
parent
dd0f38bd8b
commit
8117eb8b8a
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ posts.post(
|
||||||
title: Joi.string().required(),
|
title: Joi.string().required(),
|
||||||
files: Joi.any().required(),
|
files: Joi.any().required(),
|
||||||
visibility: Joi.string().required(),
|
visibility: Joi.string().required(),
|
||||||
|
userId: Joi.string().required(),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
async (req, res, next) => {
|
async (req, res, next) => {
|
||||||
|
|
Loading…
Reference in a new issue