From 6b9c9079c86e5ccb7dbbe6a1a7e3a7e82fbdd846 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 6 Jul 2020 17:33:04 +0200 Subject: [PATCH] Fix typo --- src/helpers/groups_helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/groups_helper.rs b/src/helpers/groups_helper.rs index 89938ee..04fecfd 100644 --- a/src/helpers/groups_helper.rs +++ b/src/helpers/groups_helper.rs @@ -414,7 +414,7 @@ pub fn respond_request(group_id: &GroupID, user_id: &UserID, accept: bool) -> Re } } -/// check out whether a user can create posts on a group or not +/// Check out whether a user can create posts on a group or not pub fn can_user_create_posts(group_id: &GroupID, user_id: &UserID) -> ResultBoxError { let membership_level = get_membership_level(group_id, user_id.as_option())?;