Fix favorites logging parameter order
All checks were successful
Core Repos/ImageApi/pipeline/pr-master This commit looks good

This commit is contained in:
Cameron Cordes
2021-03-25 13:39:16 -04:00
parent 7f534a18bf
commit 53cdbabae1

View File

@@ -240,7 +240,7 @@ async fn post_add_favorite(claims: Claims, body: web::Json<AddFavoriteRequest>)
}) })
.await .await
.unwrap(); .unwrap();
debug!("Adding favorite \"{}\" for userid: {}", user_id, body.path); debug!("Adding favorite \"{}\" for userid: {}", body.path, user_id);
HttpResponse::Ok() HttpResponse::Ok()
} else { } else {
error!("Unable to parse sub as i32: {}", claims.sub); error!("Unable to parse sub as i32: {}", claims.sub);