Added back missing check

This commit is contained in:
Max Campbell 2022-03-20 14:51:33 -10:00
parent dd0f38bd8b
commit 8117eb8b8a

View file

@ -17,6 +17,7 @@ posts.post(
title: Joi.string().required(), title: Joi.string().required(),
files: Joi.any().required(), files: Joi.any().required(),
visibility: Joi.string().required(), visibility: Joi.string().required(),
userId: Joi.string().required(),
}, },
}), }),
async (req, res, next) => { async (req, res, next) => {