server: fix pong bytes reference — backend now compiles cleanly (only dead_code warnings for future-use types)

This commit is contained in:
Butterfly Dev 2026-04-07 03:21:47 +00:00
parent 2e55d5c832
commit bae17ae444

View File

@ -95,7 +95,7 @@ pub async fn ws_index(
} }
Message::Ping(bytes) => { Message::Ping(bytes) => {
last_heartbeat = Instant::now(); last_heartbeat = Instant::now();
let _ = session.pong(bytes).await; let _ = session.pong(&bytes).await;
} }
Message::Close(reason) => { Message::Close(reason) => {
info!( info!(