update error messages

This commit is contained in:
Brian Seymour 2021-01-21 18:50:05 -06:00
parent 36ff6c8282
commit 92f6f15a47
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ app.post(
language: {
in: 'body',
notEmpty: {
errorMessage: 'Supply a language field',
errorMessage: 'No language supplied',
},
isString: {
errorMessage: 'Supplied language is not a string',
@ -27,7 +27,7 @@ app.post(
source: {
in: 'body',
notEmpty: {
errorMessage: 'Supply a source field',
errorMessage: 'No source supplied',
},
isString: {
errorMessage: 'Supplied source is not a string',