mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-08 21:48:41 +00:00
fix bugs
This commit is contained in:
parent
d750f558ba
commit
c22bea0df5
|
|
@ -42,7 +42,7 @@ trait FileUploaderTrait
|
|||
*/
|
||||
public static function setUpFileUploaderTrait(RequestAbstract $request, ResponseAbstract $response, $data = null) : void
|
||||
{
|
||||
$head = $response->get('Content')->head;
|
||||
$head = $response->data['Content']->head;
|
||||
$head->addAsset(AssetType::JS, '/Modules/Media/Controller.js', ['type' => 'module']);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user