1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-26 07:19:22 +00:00
This commit is contained in:
Pierre HUBERT 2020-06-24 18:26:20 +02:00
parent dc58357b2e
commit fd449dee11

View File

@ -138,7 +138,7 @@ pub fn get_list_user(user_id: UserID, only_followed: bool) -> ResultBoxError<Vec
query.exec(|row| row.get_group_id("groups_id")) query.exec(|row| row.get_group_id("groups_id"))
} }
/// get information about a group /// Get information about a group
pub fn get_info(group_id: &GroupID) -> ResultBoxError<Group> { pub fn get_info(group_id: &GroupID) -> ResultBoxError<Group> {
database::QueryInfo::new(GROUPS_LIST_TABLE) database::QueryInfo::new(GROUPS_LIST_TABLE)
.cond_group_id("id", group_id) .cond_group_id("id", group_id)