implemented simple chat conversation creation endpoint
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user