summaryrefslogtreecommitdiff
path: root/ick2/projectapi.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-07-21 11:45:29 +0300
committerLars Wirzenius <liw@liw.fi>2019-08-03 21:06:50 +0300
commit7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7 (patch)
treee52472ac9665bc21886ccf27b7a79e76079d6afe /ick2/projectapi.py
parent4f2207571928dc685102e3b3ff55e79cd3d46b6d (diff)
downloadick2-7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.tar.gz
Add: TokenGetter
Diffstat (limited to 'ick2/projectapi.py')
-rw-r--r--ick2/projectapi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ick2/projectapi.py b/ick2/projectapi.py
index a854716..00fce8a 100644
--- a/ick2/projectapi.py
+++ b/ick2/projectapi.py
@@ -50,7 +50,7 @@ class ProjectAPI(ick2.ResourceApiBase):
]
def trigger_project(self, project, **kwargs): # pragma: no cover
- token = 'FIXME'
+ token = self._token_getter.get_token()
with self._trans.modify(token, 'projects', project) as p:
self._start_build(token, p)
return {'status': ick2.BUILD_TRIGGERED}