update error messages
This commit is contained in:
parent
36ff6c8282
commit
92f6f15a47
|
@ -14,7 +14,7 @@ app.post(
|
||||||
language: {
|
language: {
|
||||||
in: 'body',
|
in: 'body',
|
||||||
notEmpty: {
|
notEmpty: {
|
||||||
errorMessage: 'Supply a language field',
|
errorMessage: 'No language supplied',
|
||||||
},
|
},
|
||||||
isString: {
|
isString: {
|
||||||
errorMessage: 'Supplied language is not a string',
|
errorMessage: 'Supplied language is not a string',
|
||||||
|
@ -27,7 +27,7 @@ app.post(
|
||||||
source: {
|
source: {
|
||||||
in: 'body',
|
in: 'body',
|
||||||
notEmpty: {
|
notEmpty: {
|
||||||
errorMessage: 'Supply a source field',
|
errorMessage: 'No source supplied',
|
||||||
},
|
},
|
||||||
isString: {
|
isString: {
|
||||||
errorMessage: 'Supplied source is not a string',
|
errorMessage: 'Supplied source is not a string',
|
||||||
|
|
Loading…
Reference in New Issue