UC /users v1.0

This commit is contained in:
andrei-mihnea-cerbu
2024-04-03 08:02:26 +03:00
parent 5e5bab933b
commit 4f8719e9c8
16 changed files with 295 additions and 31 deletions
+10
View File
@@ -0,0 +1,10 @@
const Joi = require('joi');
const ceoPasswordModel = Joi.object({
password: Joi.string().required().messages({
'any.required': 'Password is required',
'string.empty': 'Password must not be empty'
})
});
module.exports = ceoPasswordModel;