implemented use of auth on single room endpoint

This commit is contained in:
2025-09-25 06:00:09 +02:00
parent f315ffbe7b
commit 7828d4f515
6 changed files with 50 additions and 30 deletions

View File

@@ -32,7 +32,7 @@ pub struct JwtKeys {
pub async fn token_tester(
State(state): State<AppState>,
Extension(keys): Extension<JwtKeys>,
//Extension(keys): Extension<JwtKeys>,
AuthClaims { user_id, hotel_id, username }: AuthClaims,
) -> impl IntoResponse {
format!(