diff --git a/src/main.rs b/src/main.rs index 77e76d9..f1aa762 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,7 +110,7 @@ async fn sse_handler( } }; - let _: () = match con.sadd("authors-online", &author_id).await { + let _: () = match con.command("SADD", "authors-online", &author_id).await { Ok(_) => (), Err(e) => { eprintln!("Failed to add author to online list: {}", e);