Clippy
This commit is contained in:
parent
49065f5b6d
commit
6ac27e3b34
1 changed files with 21 additions and 11 deletions
|
|
@ -3,13 +3,13 @@ use axum::extract::ws::{Message, WebSocket};
|
|||
use futures::{sink::SinkExt, stream::SplitSink};
|
||||
|
||||
use super::models::{WebSocketClientMessage, WebSocketHandshake, WebSocketServerMessage};
|
||||
use crate::consts::WEBSOCKET_SEND_TIMEOUT;
|
||||
use crate::{
|
||||
app_state::{AppState, database::models::VaultId},
|
||||
config::user_config::User,
|
||||
errors::{SyncServerError, server_error, unauthenticated_error},
|
||||
server::auth::auth,
|
||||
};
|
||||
use crate::consts::WEBSOCKET_SEND_TIMEOUT;
|
||||
|
||||
pub struct AuthenticatedWebSocketHandshake {
|
||||
pub handshake: WebSocketHandshake,
|
||||
|
|
|
|||
Loading…
Reference in a new issue