summaryrefslogtreecommitdiff
path: root/src/routes/status.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-02-11 21:17:58 +0100
committerFxQnLr <[email protected]>2024-02-11 21:17:58 +0100
commite4832b4cf36ba0eaed298ee458498eddd7176590 (patch)
tree98cb6e1e1d97f69be4f8379edc8c33f6eda4e621 /src/routes/status.rs
parent6f94a825485b1d622d8ebe88ddf3e2f426d1c69c (diff)
downloadwebol-e4832b4cf36ba0eaed298ee458498eddd7176590.tar
webol-e4832b4cf36ba0eaed298ee458498eddd7176590.tar.gz
webol-e4832b4cf36ba0eaed298ee458498eddd7176590.zip
fix clippy
Diffstat (limited to 'src/routes/status.rs')
-rw-r--r--src/routes/status.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/status.rs b/src/routes/status.rs
index 45f3e51..31ef996 100644
--- a/src/routes/status.rs
+++ b/src/routes/status.rs
@@ -7,4 +7,4 @@ use crate::services::ping::status_websocket;
7#[axum_macros::debug_handler] 7#[axum_macros::debug_handler]
8pub async fn status(State(state): State<Arc<AppState>>, ws: WebSocketUpgrade) -> Response { 8pub async fn status(State(state): State<Arc<AppState>>, ws: WebSocketUpgrade) -> Response {
9 ws.on_upgrade(move |socket| status_websocket(socket, state)) 9 ws.on_upgrade(move |socket| status_websocket(socket, state))
10} \ No newline at end of file 10}