diff --git a/server/src/routes/posts.ts b/server/src/routes/posts.ts index 04706499..23a8076b 100644 --- a/server/src/routes/posts.ts +++ b/server/src/routes/posts.ts @@ -20,6 +20,7 @@ posts.post( userId: Joi.string().required(), }, }), + async (req, res, next) => { console.log(req.body); try {