aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/rating.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers/rating.rs')
-rw-r--r--src/handlers/rating.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlers/rating.rs b/src/handlers/rating.rs
index 309c2c6..dfbeb3e 100644
--- a/src/handlers/rating.rs
+++ b/src/handlers/rating.rs
@@ -22,6 +22,7 @@ pub async fn add_rating(
22 pool: web::Data<TPool>, 22 pool: web::Data<TPool>,
23) -> impl Responder { 23) -> impl Responder {
24 info!("Add rating hit: {:?}", rating_details.product_id); 24 info!("Add rating hit: {:?}", rating_details.product_id);
25 info!("{:?}", cookie.identity());
25 let conn = pool.get().unwrap(); 26 let conn = pool.get().unwrap();
26 if let Some(uname) = cookie.identity() { 27 if let Some(uname) = cookie.identity() {
27 let selected_user = customer 28 let selected_user = customer