Merge branch 'saas' into saas-media-refactor
Conflicts: airtime_mvc/application/modules/rest/controllers/MediaController.php
This commit is contained in:
commit
f1a311dad6
4 changed files with 62 additions and 59 deletions
|
@ -119,6 +119,7 @@ class Rest_MediaController extends Zend_Rest_Controller
|
|||
try {
|
||||
$requestData = json_decode($this->getRequest()->getRawBody(), true);
|
||||
$sanitizedFile = CcFiles::updateFromArray($id, $requestData);
|
||||
|
||||
$this->getResponse()
|
||||
->setHttpResponseCode(201)
|
||||
->appendBody(json_encode($sanitizedFile));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue