mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
update error messages
This commit is contained in:
parent
36ff6c8282
commit
92f6f15a47
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue