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

@@ -12,10 +12,10 @@ use crate::utils::db_pool::{
// ROOTS
pub fn rooms_routes() -> Router {
pub fn rooms_routes() -> Router<AppState> {
Router::new()
.route("/", get(hello_rooms) )
.route("/fakeUpdate/{room_id}", put(fake_room_update))
.route("/clean_db_update/{room_id}", put(clean_db_update))
}