1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-22 13:29:21 +00:00

Rename route

This commit is contained in:
Pierre HUBERT 2021-03-05 12:23:24 +01:00
parent 0ae6ffb814
commit 7ce29bca3e

View File

@ -192,8 +192,7 @@ pub fn get_routes() -> Vec<Route> {
// 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> {
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