refactor: Fix errors in api/client/voip.rs

This commit is contained in:
Ginger
2026-04-12 11:16:52 -04:00
parent 815bfa1ed4
commit 5c9675299e
+4 -4
View File
@@ -59,10 +59,10 @@ pub(crate) async fn turn_server_route(
)
};
Ok(get_turn_server_info::v3::Response {
Ok(get_turn_server_info::v3::Response::new(
username,
password,
uris: services.globals.turn_uris().to_vec(),
ttl: Duration::from_secs(services.globals.turn_ttl()),
})
services.globals.turn_uris().to_vec(),
Duration::from_secs(services.globals.turn_ttl()),
))
}