From f693a8418e2add3a7e0ad5ae59fdf8b0d375ab01 Mon Sep 17 00:00:00 2001 From: Tony Rewin Date: Mon, 2 Oct 2023 23:15:19 +0300 Subject: [PATCH] fixes-15 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);