From 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 21 Jul 2019 11:45:29 +0300 Subject: Add: TokenGetter --- ick2/projectapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ick2/projectapi.py') 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} -- cgit v1.2.1