mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-09-12 01:49:09 +02:00
Use struct init shorthand
This commit is contained in:
parent
14a178d783
commit
1fc616320a
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ pub async fn turn_server_route(
|
|||
};
|
||||
|
||||
Ok(get_turn_server_info::Response {
|
||||
username: username,
|
||||
password: password,
|
||||
username,
|
||||
password,
|
||||
uris: db.globals.turn_uris().to_vec(),
|
||||
ttl: Duration::from_secs(db.globals.turn_ttl()),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue