get all room endpoint + clean fil structure

This commit is contained in:
2025-09-26 05:40:13 +02:00
parent 91ae1e4e75
commit 32fe134743
7 changed files with 102 additions and 24 deletions

View File

@@ -6,9 +6,7 @@ use axum::{
};
use crate::utils::db_pool::AppState;
use crate::chat::handlers::{
create_conversation,add_user_to_conv,send_message,get_message
};
use crate::chat::handlers::*;
@@ -21,5 +19,6 @@ pub fn chat_routes() -> Router<AppState> {
.route("/add_users_conv", put(add_user_to_conv))
.route("/send_message", post(send_message))
.route("/get_message", get(get_message))
.route("/hotel_users", get(get_hotel_users))
}