Fix postcode issue on upload
This commit is contained in:
parent
6d86389768
commit
22abc4e464
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ has error_messages => sub {
|
||||||
search_name => {
|
search_name => {
|
||||||
required => { message => 'search_name is missing', status => 400 },
|
required => { message => 'search_name is missing', status => 400 },
|
||||||
},
|
},
|
||||||
|
postcode => {
|
||||||
|
required => { message => 'postcode is missing', status => 400 },
|
||||||
|
postcode => { message => 'postcode must be valid', status => 400 },
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Reference in a new issue