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