summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorNikolaos Georgakis <nikos.git@ngtech.gr>2016-06-07 17:48:03 +0300
committerNikolaos Georgakis <nikos.git@ngtech.gr>2016-06-07 17:53:24 +0300
commit27f947412fcf7b04a55f7118ddd1029ab6db4b66 (patch)
treed8f2ac28519fe8c0de95b724b50631d48cbb06d3 /app/ServiceProvider
parent5e7a812933390d30e714efc3a1ff4a94dbd1702d (diff)
Expose SubTask Time Tracking though the API
Also allow users to create Subtasks and Log Time for Subtasks through the User API Rebased to new API code
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/ApiProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/ApiProvider.php b/app/ServiceProvider/ApiProvider.php
index 19d945f6..4fb74f45 100644
--- a/app/ServiceProvider/ApiProvider.php
+++ b/app/ServiceProvider/ApiProvider.php
@@ -18,6 +18,7 @@ use Kanboard\Api\Middleware\AuthenticationApiMiddleware;
use Kanboard\Api\ProjectApi;
use Kanboard\Api\ProjectPermissionApi;
use Kanboard\Api\SubtaskApi;
+use Kanboard\Api\SubtaskTimeTracking;
use Kanboard\Api\SwimlaneApi;
use Kanboard\Api\TaskApi;
use Kanboard\Api\TaskLinkApi;
@@ -60,6 +61,7 @@ class ApiProvider implements ServiceProviderInterface
->withObject(new ProjectApi($container))
->withObject(new ProjectPermissionApi($container))
->withObject(new SubtaskApi($container))
+ ->withObject(new SubtaskTimeTracking($container))
->withObject(new SwimlaneApi($container))
->withObject(new TaskApi($container))
->withObject(new TaskLinkApi($container))