Update Embedfiles.php

more testing
This commit is contained in:
Ray 2023-02-18 13:42:01 -05:00
parent 188588859f
commit d66eb53415

View file

@ -31,6 +31,8 @@ class Embedfiles extends Controller
/* start add new */
$channel_id = ((isset(self::$profile) && is_array(self::$profile) && array_key_exists('uid',self::$profile)) ? self::$profile['uid'] : '');
$observer = App::get_observer();
$result = attach_list_files($channel_id, $observer);
json_return_and_die(['status' => true, 'content' => $result]);