mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 22:29:45 +00:00
Ready to implement getList route
This commit is contained in:
@@ -43,4 +43,9 @@ pub fn create(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
// Create the conversation
|
||||
let conv_id = conversations_helper::create(&conv)?;
|
||||
r.set_response(ResCreateConversation::new(conv_id))
|
||||
}
|
||||
|
||||
/// Get the list of conversations of a user
|
||||
pub fn get_list(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
r.success("Get the list of conversations")
|
||||
}
|
Reference in New Issue
Block a user