summaryrefslogtreecommitdiff
path: root/app/Api/GroupApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/GroupApi.php')
-rw-r--r--app/Api/GroupApi.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Api/GroupApi.php b/app/Api/GroupApi.php
index f1841fa3..1701edc3 100644
--- a/app/Api/GroupApi.php
+++ b/app/Api/GroupApi.php
@@ -14,7 +14,7 @@ class GroupApi extends Base
{
public function createGroup($name, $external_id = '')
{
- return $this->group->create($name, $external_id);
+ return $this->groupModel->create($name, $external_id);
}
public function updateGroup($group_id, $name = null, $external_id = null)
@@ -31,21 +31,21 @@ class GroupApi extends Base
}
}
- return $this->group->update($values);
+ return $this->groupModel->update($values);
}
public function removeGroup($group_id)
{
- return $this->group->remove($group_id);
+ return $this->groupModel->remove($group_id);
}
public function getGroup($group_id)
{
- return $this->group->getById($group_id);
+ return $this->groupModel->getById($group_id);
}
public function getAllGroups()
{
- return $this->group->getAll();
+ return $this->groupModel->getAll();
}
}