diff --git a/lib/Pear/LocalLoop/Controller/Api/Upload.pm b/lib/Pear/LocalLoop/Controller/Api/Upload.pm index 87a3fba..7b037d5 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Upload.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Upload.pm @@ -150,7 +150,7 @@ sub post_upload { street_name => $validation->param('street_name'), town => $validation->param('town'), postcode => $validation->param('postcode'), - pending => \"1" + pending => 1, }); $organisation = $entity->organisation; }