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);