Removed redundant code and added error messages

This commit is contained in:
Finn 2017-09-08 12:15:11 +01:00
parent 662219fc6e
commit 9cfd5536b9
2 changed files with 70 additions and 19 deletions

View file

@ -79,7 +79,6 @@ has error_messages => sub {
required => { message => 'search_name is missing', status => 400 },
},
postcode => {
required => { message => 'postcode is missing', status => 400 },
postcode => { message => 'postcode must be valid', status => 400 },
},
};