summaryrefslogtreecommitdiff
path: root/app/Api/GroupMemberApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/GroupMemberApi.php')
-rw-r--r--app/Api/GroupMemberApi.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Api/GroupMemberApi.php b/app/Api/GroupMemberApi.php
index f5171e23..e09f6975 100644
--- a/app/Api/GroupMemberApi.php
+++ b/app/Api/GroupMemberApi.php
@@ -14,26 +14,26 @@ class GroupMemberApi extends Base
{
public function getMemberGroups($user_id)
{
- return $this->groupMember->getGroups($user_id);
+ return $this->groupMemberModel->getGroups($user_id);
}
public function getGroupMembers($group_id)
{
- return $this->groupMember->getMembers($group_id);
+ return $this->groupMemberModel->getMembers($group_id);
}
public function addGroupMember($group_id, $user_id)
{
- return $this->groupMember->addUser($group_id, $user_id);
+ return $this->groupMemberModel->addUser($group_id, $user_id);
}
public function removeGroupMember($group_id, $user_id)
{
- return $this->groupMember->removeUser($group_id, $user_id);
+ return $this->groupMemberModel->removeUser($group_id, $user_id);
}
public function isGroupMember($group_id, $user_id)
{
- return $this->groupMember->isMember($group_id, $user_id);
+ return $this->groupMemberModel->isMember($group_id, $user_id);
}
}