Browse Source

Use struct init shorthand

merge-requests/228/head
Jonas Platte 4 years ago
parent
commit
1fc616320a
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67
  1. 4
      src/client_server/voip.rs

4
src/client_server/voip.rs

@ -49,8 +49,8 @@ pub async fn turn_server_route( @@ -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…
Cancel
Save