Fix issue
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-19 21:39:29 +02:00
parent b6020b99c6
commit 0106b2bfea
3 changed files with 3 additions and 3 deletions

BIN
src/server/api/.ws.rs.swp Normal file

Binary file not shown.

View File

@@ -94,7 +94,7 @@ pub async fn ws_handler(
}
// Send the message to the websocket
if let Ok(msg) = serde_json::to_string(&WsMessage::Sync(event)) {
if let Ok(msg) = serde_json::to_string(&WsMessage::Sync(*event)) {
if let Err(e) = session.text(msg).await {
log::error!("Failed to send SyncEvent: {}", e);
}