summaryrefslogtreecommitdiff
path: root/app/Api/ActionApi.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/ActionApi.php')
-rw-r--r--app/Api/ActionApi.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Api/ActionApi.php b/app/Api/ActionApi.php
index 0647f9e8..116742d8 100644
--- a/app/Api/ActionApi.php
+++ b/app/Api/ActionApi.php
@@ -29,12 +29,12 @@ class ActionApi extends Base
public function removeAction($action_id)
{
- return $this->action->remove($action_id);
+ return $this->actionModel->remove($action_id);
}
public function getActions($project_id)
{
- return $this->action->getAllByProject($project_id);
+ return $this->actionModel->getAllByProject($project_id);
}
public function createAction($project_id, $event_name, $action_name, array $params)
@@ -82,6 +82,6 @@ class ActionApi extends Base
}
}
- return $this->action->create($values);
+ return $this->actionModel->create($values);
}
}