* Moving a cloned channel into rtc:channel_create call
This commit is contained in:
parent
0e6168a961
commit
b7c7b8b5e8
@ -59,7 +59,7 @@ pub async fn create_channel(pool: &Pool, response: &mut Response<Body>, params:
|
||||
#[cfg(feature = "rtc")]
|
||||
{
|
||||
use crate::rtc;
|
||||
rtc::create_channel(channel).await;
|
||||
rtc::create_channel(channel.clone()).await;
|
||||
}
|
||||
set_json_body(response, json!({"channel": channel}));
|
||||
StatusCode::OK
|
||||
|
Loading…
Reference in New Issue
Block a user