mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
Update Border File API
This commit is contained in:
@@ -659,7 +659,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
|
||||
$media = $app['mediavorus']->guess($file->getPathname());
|
||||
|
||||
$Package = new Alchemy\Phrasea\Border\File($media, $collection, $file->getClientOriginalName());
|
||||
$Package = new Alchemy\Phrasea\Border\File($this->app, $media, $collection, $file->getClientOriginalName());
|
||||
|
||||
if ($request->get('status')) {
|
||||
$Package->addAttribute(new Status($app, $request->get('status')));
|
||||
|
Reference in New Issue
Block a user