implemented use of auth on single room endpoint
This commit is contained in:
@@ -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))
|
||||
}
|
||||
Reference in New Issue
Block a user