fix: remove minlength validation for support contact name in agent schema
This commit is contained in:
committed by
Danny Avila
parent
8ff127aec0
commit
bfeb7bfdd3
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user