Added MaxLenght to 50 for use with API/Comment new parameter
This commit is contained in:
parent
9758a61e0a
commit
59367d5450
|
|
@ -203,6 +203,7 @@ class Comment extends Base
|
|||
new Validators\Integer('id', t('This value must be an integer')),
|
||||
new Validators\Integer('task_id', t('This value must be an integer')),
|
||||
new Validators\Integer('user_id', t('This value must be an integer')),
|
||||
new Validators\MaxLength('reference', t('The maximum length is %d characters', 50), 50),
|
||||
new Validators\Required('comment', t('Comment is required'))
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue