mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-06-05 10:51:36 +00:00
refactor: Fix errors in api/client/voip.rs
This commit is contained in:
@@ -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()),
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user