Removed console.log
This commit is contained in:
parent
1eb998c7d6
commit
dd0f38bd8b
1 changed files with 0 additions and 2 deletions
|
@ -17,11 +17,9 @@ posts.post(
|
|||
title: Joi.string().required(),
|
||||
files: Joi.any().required(),
|
||||
visibility: Joi.string().required(),
|
||||
userId: Joi.string().required(),
|
||||
},
|
||||
}),
|
||||
async (req, res, next) => {
|
||||
console.log(req.body);
|
||||
try {
|
||||
// Create the "post" object
|
||||
const newPost = new Post({
|
||||
|
|
Loading…
Reference in a new issue