1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-08-18 15:54:41 +02:00

Use struct init shorthand

This commit is contained in:
Jonas Platte 2021-11-26 19:28:47 +01:00
parent 14a178d783
commit 1fc616320a
No known key found for this signature in database
GPG key ID: CC154DE0E30B7C67

View file

@ -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()),
}