From de55c95d0c5902bcbd556abb35b1d6c03d339830 Mon Sep 17 00:00:00 2001 From: Petru Date: Fri, 13 Oct 2023 17:02:58 +0300 Subject: [PATCH] issue-3 tracing info for rating::get --- src/routes/rating/get.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/routes/rating/get.rs b/src/routes/rating/get.rs index 2ee270d..505e66d 100644 --- a/src/routes/rating/get.rs +++ b/src/routes/rating/get.rs @@ -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,