summaryrefslogtreecommitdiff
path: root/app/Api/Me.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/Me.php')
-rw-r--r--app/Api/Me.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Api/Me.php b/app/Api/Me.php
index bc721c09..ff317557 100644
--- a/app/Api/Me.php
+++ b/app/Api/Me.php
@@ -57,4 +57,9 @@ class Me extends Base
{
return $this->taskFinder->getOverdueTasksByUser($this->userSession->getId());
}
+
+ public function getMyProjects()
+ {
+ return $this->formatProjects($this->project->getAllByIds($this->projectPermission->getActiveMemberProjectIds($this->userSession->getId())));
+ }
}