fixes-18
This commit is contained in:
@@ -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(_) => (),
|
Ok(_) => (),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("Failed to add author to online list: {}", e);
|
eprintln!("Failed to add author to online list: {}", e);
|
||||||
|
Reference in New Issue
Block a user