1
0
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:
2020-06-24 18:23:44 +02:00
parent ed498a73d6
commit dc58357b2e
3 changed files with 109 additions and 3 deletions

View File

@ -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")
}