diff --git a/lib/Pear/LocalLoop/Controller/Api/Upload.pm b/lib/Pear/LocalLoop/Controller/Api/Upload.pm index c0b65bd..abe28f9 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Upload.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Upload.pm @@ -56,7 +56,7 @@ has error_messages => sub { }, file => { 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 }, }, organisation_id => {