fix: remove minlength validation for support contact name in agent schema

This commit is contained in:
Atef Bellaaj 2025-06-23 11:57:18 +02:00 committed by Danny Avila
parent 8ff127aec0
commit bfeb7bfdd3
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -102,7 +102,6 @@ const agentSchema = new Schema<IAgent>(
type: {
name: {
type: String,
minlength: [3, 'Support contact name must be at least 3 characters.'],
trim: true,
},
email: {