From 53cdbabae150bb2ecea8e1e0602b828dc633499f Mon Sep 17 00:00:00 2001 From: Cameron Cordes Date: Thu, 25 Mar 2021 13:39:16 -0400 Subject: [PATCH] Fix favorites logging parameter order --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c4050ce..1b160d8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -240,7 +240,7 @@ async fn post_add_favorite(claims: Claims, body: web::Json) }) .await .unwrap(); - debug!("Adding favorite \"{}\" for userid: {}", user_id, body.path); + debug!("Adding favorite \"{}\" for userid: {}", body.path, user_id); HttpResponse::Ok() } else { error!("Unable to parse sub as i32: {}", claims.sub);