Fix postcode issue on upload

This commit is contained in:
Tom Bloor 2017-05-15 22:43:31 +01:00
parent 6d86389768
commit 22abc4e464

View file

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