Skip to content

Commit

Permalink
chore: change unused var into _
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonVirgo committed Aug 1, 2024
1 parent 276da05 commit b71447c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/dashboard/player_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ async fn add_player(
};

let form_data = form.into_inner();
let player = create_player(&state, &thread_id, &form_data.username).await;
let _ = create_player(&state, &thread_id, &form_data.username).await;

HttpResponse::Found()
.insert_header(("Location", format!("/api/dashboard/players/{}", thread_id)))
Expand Down

0 comments on commit b71447c

Please sign in to comment.