From 8117eb8b8ade8faee62d6d3063eefa8e68667dd9 Mon Sep 17 00:00:00 2001 From: Max Campbell Date: Sun, 20 Mar 2022 14:51:33 -1000 Subject: [PATCH] Added back missing check --- 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 17c94514..83f70e2a 100644 --- a/server/src/routes/posts.ts +++ b/server/src/routes/posts.ts @@ -17,6 +17,7 @@ posts.post( title: Joi.string().required(), files: Joi.any().required(), visibility: Joi.string().required(), + userId: Joi.string().required(), }, }), async (req, res, next) => {