mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
rename api quarantine single item & list key
This commit is contained in:
@@ -743,7 +743,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
$result->set_datas(array(
|
||||
'offset_start' => $offset_start,
|
||||
'per_page' => $per_page,
|
||||
'items' => $ret,
|
||||
'quarantine_items' => $ret,
|
||||
));
|
||||
|
||||
return $result;
|
||||
@@ -762,7 +762,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
throw new \API_V1_exception_forbidden('You do not have access to this quarantine item');
|
||||
}
|
||||
|
||||
$ret = array('item' => $this->list_lazaret_file($lazaretFile));
|
||||
$ret = array('quarantine_item' => $this->list_lazaret_file($lazaretFile));
|
||||
|
||||
$result = new API_V1_result($request, $this);
|
||||
|
||||
|
Reference in New Issue
Block a user