summaryrefslogtreecommitdiff
path: root/app/Api/Procedure/MeProcedure.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-05-22 15:33:16 -0400
committerFrederic Guillot <fred@kanboard.net>2017-05-22 15:33:16 -0400
commit54a751820f39e8891f775b8d9293349399b3e8c2 (patch)
tree777636eb37fd2dc3af959171a64eb14933641dec /app/Api/Procedure/MeProcedure.php
parentf16ac8cd66b107f04db78a70521a959eca85159a (diff)
Add task and project API formatters
Diffstat (limited to 'app/Api/Procedure/MeProcedure.php')
-rw-r--r--app/Api/Procedure/MeProcedure.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Api/Procedure/MeProcedure.php b/app/Api/Procedure/MeProcedure.php
index 3ba73fdd..5a64cdb3 100644
--- a/app/Api/Procedure/MeProcedure.php
+++ b/app/Api/Procedure/MeProcedure.php
@@ -62,6 +62,6 @@ class MeProcedure extends BaseProcedure
$project_ids = $this->projectPermissionModel->getActiveProjectIds($this->userSession->getId());
$projects = $this->projectModel->getAllByIds($project_ids);
- return $this->formatProjects($projects);
+ return $this->projectsApiFormatter->withProjects($projects)->format();
}
}