Implemented leaving a gamenight on the server/database side

This commit is contained in:
2025-06-15 19:11:26 +02:00
parent db6f55bc47
commit d11e31149b
5 changed files with 49 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ impl ViewGamenight {
fn vec_user_to_usernames_string(users: Vec<User>) -> String {
let string_list: Vec<String> = users.iter().map(|x| {x.username.clone()}).collect();
let string_list: Vec<String> = users.iter().map(|x| {format!("{}", x)}).collect();
string_list.join(", ")
}