correct name validation in data-custom-response path
This commit is contained in:
parent
e266bd1b71
commit
a01d746ca0
|
@ -37,7 +37,7 @@ class AddCustomResponseController extends Controller {
|
|||
'requestData' => [
|
||||
'name' => [
|
||||
'validation' => DataValidator::notBlank()->length(LengthConfig::MIN_LENGTH_NAME, LengthConfig::MAX_LENGTH_NAME),
|
||||
'error' => ERRORS::INVALID_TITLE
|
||||
'error' => ERRORS::INVALID_NAME
|
||||
],
|
||||
'content' => [
|
||||
'validation' => DataValidator::content(),
|
||||
|
|
Loading…
Reference in New Issue