Removed console.log

This commit is contained in:
Max Campbell 2022-03-20 14:51:00 -10:00
parent 1eb998c7d6
commit dd0f38bd8b

View file

@ -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({