This commit is contained in:
Tony Rewin 2023-10-02 23:28:36 +03:00
parent 13e37319a2
commit fb7c9f43dc

View File

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