diff --git a/src/main.rs b/src/main.rs index d084230..3840ea6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -108,7 +108,7 @@ async fn sse_handler( } }; - let _ = match con.sadd("authors-online", &author_id).await { + let _ = match con.sadd::<&str, &i32, usize>("authors-online", &author_id).await { Ok(_) => (), Err(e) => { eprintln!("Failed to add author to online list: {}", e);