Merge branch 'cc-5709-airtime-analyzer' into cc-5709-airtime-analyzer-saas

This commit is contained in:
drigato 2014-05-08 13:02:22 -04:00
commit c9ddcc28e0
2 changed files with 8 additions and 4 deletions

View file

@ -362,7 +362,7 @@ class Rest_MediaController extends Zend_Rest_Controller
private function invalidDataResponse()
{
$resp = $this->getResponse();
$resp->setHttpResponseCode(400);
$resp->setHttpResponseCode(422);
$resp->appendBody("ERROR: Invalid data");
}