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

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: {