diff --git a/json-api/src/channels.rs b/json-api/src/channels.rs index 6be6e50..fd0046c 100644 --- a/json-api/src/channels.rs +++ b/json-api/src/channels.rs @@ -59,7 +59,7 @@ pub async fn create_channel(pool: &Pool, response: &mut Response, 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