Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
depth-liu committed Oct 7, 2023
1 parent 0c8181a commit 6831916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sse-chat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async fn user_connected(res: &mut Response) {
Message::UserId(my_id) => Ok::<_, salvo::Error>(SseEvent::default().name("user").text(my_id.to_string())),
Message::Reply(reply) => Ok(SseEvent::default().text(reply)),
});
SseKeepAlive::new(stream).stream(res).ok();
SseKeepAlive::new(stream).stream(res);
}

fn user_message(my_id: usize, msg: &str) {
Expand Down

0 comments on commit 6831916

Please sign in to comment.