Improve failed upload error
This commit is contained in:
parent
e9f4888a8c
commit
2cc670b58f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ has error_messages => sub {
|
||||||
},
|
},
|
||||||
file => {
|
file => {
|
||||||
required => { message => 'No file uploaded', status => 400 },
|
required => { message => 'No file uploaded', status => 400 },
|
||||||
upload => { message => 'No file uploaded', status => 400 },
|
upload => { message => 'file key does not contain a file', status => 400 },
|
||||||
filetype => { message => 'File must be of type image/jpeg', status => 400 },
|
filetype => { message => 'File must be of type image/jpeg', status => 400 },
|
||||||
},
|
},
|
||||||
organisation_id => {
|
organisation_id => {
|
||||||
|
|
Reference in a new issue