Skip to content

Commit

Permalink
Wow, fix that
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Nov 21, 2024
1 parent abc471f commit 7ea5f71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vzdv-site/src/endpoints/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ async fn page_training_notes(
Some(info) => info,
None => return Ok(Redirect::to("/").into_response()),
};
// let all_training_records = vatusa::get_training_records(user_info.cid, &state.config.vatsim.vatusa_api_key)
let all_training_records =
vatusa::get_training_records(1640903, &state.config.vatsim.vatusa_api_key)
vatusa::get_training_records(user_info.cid, &state.config.vatsim.vatusa_api_key)
.await
.map_err(|e| {
AppError::GenericFallback("getting VATUSA training records by controller", e)
Expand Down

0 comments on commit 7ea5f71

Please sign in to comment.