mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +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(
|
$result->set_datas(array(
|
||||||
'offset_start' => $offset_start,
|
'offset_start' => $offset_start,
|
||||||
'per_page' => $per_page,
|
'per_page' => $per_page,
|
||||||
'items' => $ret,
|
'quarantine_items' => $ret,
|
||||||
));
|
));
|
||||||
|
|
||||||
return $result;
|
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');
|
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);
|
$result = new API_V1_result($request, $this);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user