feat: Implement rest API endpoint to update current user password

This commit is contained in:
Faruk AYDIN
2024-09-10 17:40:21 +03:00
parent 8d10f26f56
commit f86799e494
5 changed files with 81 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class User extends Base {
id: { type: 'string', format: 'uuid' },
fullName: { type: 'string', minLength: 1 },
email: { type: 'string', format: 'email', minLength: 1, maxLength: 255 },
password: { type: 'string' },
password: { type: 'string', minLength: 6 },
status: {
type: 'string',
enum: ['active', 'invited'],