Skip to content

Commit 9bad80b

Browse files
committed
fix(security): convert remaining websocket payload to Bytes for tungstenite 0.29
1 parent 623c11b commit 9bad80b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database_server/src/aisdb_db_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ pub fn handle_client(
629629
websocket.send(Message::binary(zone.to_string()))?;
630630
}
631631
websocket.send(Message::Binary(
632-
"{\"msgtype\":\"doneZones\"}".as_bytes().to_vec(),
632+
"{\"msgtype\":\"doneZones\"}".as_bytes().to_vec().into(),
633633
))?;
634634
}
635635

0 commit comments

Comments
 (0)