diff --git a/src/routes.rs b/src/routes.rs index 6c85250..dcae73e 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -192,8 +192,7 @@ pub fn get_routes() -> Vec { // Conversations controller Route::post("/conversations/create", Box::new(conversations_controller::create)), Route::post("/conversations/getList", Box::new(conversations_controller::get_list)), - Route::post("/conversations/getInfoOne", Box::new(conversations_controller::get_single)), - Route::post("/conversations/getInfosOne", Box::new(conversations_controller::get_single)), + Route::post("/conversations/get_single", Box::new(conversations_controller::get_single)), Route::post("/conversations/updateSettings", Box::new(conversations_controller::update_settings)), Route::post("/conversations/getPrivate", Box::new(conversations_controller::find_private)), Route::post("/conversations/refresh_single", Box::new(conversations_controller::refresh_single)), @@ -204,7 +203,6 @@ pub fn get_routes() -> Vec { Route::post("/conversations/delete", Box::new(conversations_controller::delete_conversation)), Route::post("/conversations/updateMessage", Box::new(conversations_controller::update_message)), Route::post("/conversations/deleteMessage", Box::new(conversations_controller::delete_message)), - // TODO : add a route to mark messages seen // Search controller