From e6880f4c8cf37e8376f90af0883936a482780b63 Mon Sep 17 00:00:00 2001 From: Tony Rewin Date: Mon, 2 Oct 2023 23:30:07 +0300 Subject: [PATCH] fixes-120 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3840ea6..ad7fe7a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -150,7 +150,7 @@ async fn sse_handler( } } - let _: () = match con.srem("authors-online", &author_id).await { + let _ = match con.srem::<&str, &i32, usize>("authors-online", &author_id).await { Ok(_) => (), Err(e) => { eprintln!("Failed to remove author from online list: {}", e);