Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover authored Apr 23, 2024
1 parent 160f0d1 commit ab3faa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async fn handle_socket(socket: WebSocket, _who: SocketAddr, state: Arc<AppState>
::from_str::<MessageTypes>(&text)
.expect("couldn't get json from message");
match message {
MessageTypes::MessageSent(_request) => {
MessageTypes::MessageSent(mut request) => {
let mut msg_new: String = String::new();
push_html(
&mut msg_new,
Expand Down

0 comments on commit ab3faa0

Please sign in to comment.