implemented simple chat conversation creation endpoint

This commit is contained in:
2025-09-25 06:55:47 +02:00
parent 7828d4f515
commit 213d696e93
9 changed files with 107 additions and 7 deletions

View File

@@ -68,6 +68,10 @@ pub async fn clean_db_update(
UpdateRoomPayload(payload): UpdateRoomPayload,
) -> impl IntoResponse {
//TODO: make better error handling :
// if wrong param collumn targeted,
// if missing path param
let pool = state.hotel_pools.get_pool(hotel_id);
let conn = match pool.get(){