Skip to content

Commit

Permalink
Fix debug! in launch_cross_check_report
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Aug 28, 2023
1 parent 87c8f24 commit b83ab98
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions backend/crates/common/src/api_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,16 @@ impl MutationRoot {
ctx: &Context<'_>,
req: DivergenceInvestigationRequest,
) -> Result<DivergenceInvestigationResponse> {
debug!("launch_cross_check_report");

let api_ctx = ctx.data::<APISchemaContext>()?;
let store = &api_ctx.store;

let id = store.queue_cross_check_report(req)?.to_string();
let id = store.queue_cross_check_report(req.clone())?.to_string();
debug!(
poi1 = req.poi1.as_str(),
poi2 = req.poi2.as_str(),
id,
"Received a launch_cross_check_report request"
);

Ok(DivergenceInvestigationResponse { id })
}
Expand Down

0 comments on commit b83ab98

Please sign in to comment.