From 5c9675299e5392378a4e2bbd6bdd3b2bfdc834c9 Mon Sep 17 00:00:00 2001 From: Ginger Date: Sun, 12 Apr 2026 11:16:52 -0400 Subject: [PATCH] refactor: Fix errors in `api/client/voip.rs` --- src/api/client/voip.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/client/voip.rs b/src/api/client/voip.rs index 91991d24f..1934c6846 100644 --- a/src/api/client/voip.rs +++ b/src/api/client/voip.rs @@ -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()), + )) }