Skip to content

Commit

Permalink
issue-3 tracing info for rating::get
Browse files Browse the repository at this point in the history
  • Loading branch information
smart--petea committed Oct 13, 2023
1 parent 7180289 commit de55c95
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/routes/rating/get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,7 @@ pub async fn get_handler(
.await
{
Ok(rating) => {
/*
tracing::info!(
"rating exists: {:?}, user: {}, product: {}, category: {:?}",
record.id,
user.id,
form.obj_id,
form.category
);
*/
tracing::info!("rating found: {:?}", rating.id,);
return Ok(web::Json(JsonResponse {
status: "Success".to_string(),
code: 200,
Expand Down

0 comments on commit de55c95

Please sign in to comment.