This commit is contained in:
2025-08-07 10:35:56 +02:00
parent 2b05053b47
commit bb27092e3b
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ async fn game(
if let Ok(number) = backend.client_found_camera(&client, &camera).await {
messages.info(format!("found-cam|{}|{number}", camera.name));
} else {
messages.info(&format!(
messages.info(format!(
"err|{}|{}|{}",
t!("error_already_found_title"),
t!("error_already_found_body"),

View File

@@ -140,7 +140,7 @@ impl Backend {
if name.len() < 3 {
return Err(NameUpdateError::TooShort(3, name.len()));
}
if contains_bad_word(&name) {
if contains_bad_word(name) {
return Err(NameUpdateError::ContainsBadWord);
}