mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +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,
|
username,
|
||||||
password,
|
password,
|
||||||
uris: services.globals.turn_uris().to_vec(),
|
services.globals.turn_uris().to_vec(),
|
||||||
ttl: Duration::from_secs(services.globals.turn_ttl()),
|
Duration::from_secs(services.globals.turn_ttl()),
|
||||||
})
|
))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user