This commit is contained in:
Tony Rewin 2023-10-02 23:15:19 +03:00
parent 30b7282cfe
commit f693a8418e

View File

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