add using refresh token to get access token

This commit is contained in:
2025-10-12 07:55:58 +02:00
parent c937ae8d83
commit 67302965d8
10 changed files with 111 additions and 32 deletions

View File

@@ -89,7 +89,7 @@ async fn handle_socket(
}
pub async fn ws_handler(
AuthClaims {user_id, hotel_id,username}: AuthClaims,
AuthClaims {user_id, hotel_id}: AuthClaims,
ws: WebSocketUpgrade,
State(state): State<AppState>,
//Path((hotel_id, user_id)): Path<(i32, i32)>,