mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-21 00:45:18 +00:00
Get information about groups
This commit is contained in:
@ -34,8 +34,9 @@ pub fn get_list_user(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
/// Get information about a single group
|
||||
pub fn get_info_single(r: &mut HttpRequestHandler) -> RequestResult {
|
||||
let group_id = r.post_group_id_with_access("id", GroupAccessLevel::LIMITED_ACCESS)?;
|
||||
let group = groups_helper::get_info(&group_id)?;
|
||||
|
||||
println!("Group to get: {:?}", group_id);
|
||||
println!("Group info: {:#?}", group);
|
||||
|
||||
r.success("continue implementation")
|
||||
}
|
Reference in New Issue
Block a user