mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 13:15:14 +00:00
Update Embedfiles.php
This commit is contained in:
parent
a60b6ff0b0
commit
bf5c6b713e
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue