Domain support
This commit is contained in:
@@ -20,6 +20,13 @@ const createTokenSchema = Joi.object({
|
||||
.max(255)
|
||||
.allow(null, '')
|
||||
.optional(),
|
||||
from_name: Joi.string()
|
||||
.max(255)
|
||||
.allow(null, '')
|
||||
.optional()
|
||||
.messages({
|
||||
'string.max': 'From name must be less than 255 characters',
|
||||
}),
|
||||
template_type: Joi.string()
|
||||
.max(50)
|
||||
.default('bank')
|
||||
|
||||
Reference in New Issue
Block a user