From dd0f38bd8b3475e03d8f8dfa2f7f1e4c17ba1d66 Mon Sep 17 00:00:00 2001 From: Max Campbell Date: Sun, 20 Mar 2022 14:51:00 -1000 Subject: [PATCH] Removed console.log --- server/src/routes/posts.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/routes/posts.ts b/server/src/routes/posts.ts index 04706499..17c94514 100644 --- a/server/src/routes/posts.ts +++ b/server/src/routes/posts.ts @@ -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({