From 8324a26eb63253e75c6a0bb685d0c45baa9f2fb5 Mon Sep 17 00:00:00 2001 From: Max Campbell Date: Sun, 20 Mar 2022 14:47:18 -1000 Subject: [PATCH] Changes --- server/src/routes/posts.ts | 1 + 1 file changed, 1 insertion(+) 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 {