Update Embedfiles.php

This commit is contained in:
Ray 2023-02-18 17:14:33 -05:00
parent a60b6ff0b0
commit bf5c6b713e

View file

@ -32,9 +32,9 @@ class Embedfiles extends Controller
/* start add new */
$channel = App::get_channel();
$channel_id = $channel[channel_id];
$channel_id = $channel ->channel_id;
$observer = get_observer_hash();
$result = attach_list_files("2", $observer);
$result = attach_list_files($channel_id, $observer);
json_return_and_die(['status' => true, 'content' => $result]);
/* end add new */