build(deps): update to axum 0.8, rusqlite 0.33, tokio-tungstenite 0.26, thiserror 2

This commit is contained in:
oxalica 2025-02-11 00:13:56 -05:00
parent b56f8897ff
commit 740e540b4b
9 changed files with 294 additions and 323 deletions

View file

@ -168,9 +168,7 @@ impl Server {
let url = format!("ws://{}/_blah/ws", self.domain());
let (mut ws, _) = tokio_tungstenite::connect_async(url).await.unwrap();
if let Some(user) = auth_user {
ws.send(tokio_tungstenite::tungstenite::Message::Text(auth(user)))
.await
.unwrap();
ws.send(auth(user).into()).await.unwrap();
}
Ok(ws
.map(|ret| {