summaryrefslogtreecommitdiff
path: root/ick2/workerapi.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-18 10:49:20 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-18 10:49:20 +0300
commitcd41fb97dcf8b2c271090c44a6d299f8f87c6217 (patch)
tree92024d274bb26090af42ddb97d423c2d4786f3b5 /ick2/workerapi.py
parent57a27b0432a0d9b8877ea50a554294326302e7da (diff)
downloadick2-cd41fb97dcf8b2c271090c44a6d299f8f87c6217.tar.gz
Revert "Add: TokenGetter"
This reverts commit 7a6bc2f7749c10c1d3344ea0196e81ae95b7f0d7.
Diffstat (limited to 'ick2/workerapi.py')
-rw-r--r--ick2/workerapi.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ick2/workerapi.py b/ick2/workerapi.py
index 9a2c5f2..d4b508c 100644
--- a/ick2/workerapi.py
+++ b/ick2/workerapi.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2019 Lars Wirzenius
+# Copyright (C) 2017-2018 Lars Wirzenius
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@@ -34,5 +34,4 @@ class WorkerAPI(ick2.ResourceApiBase): # pragma: no cover
def create(self, body, **kwargs):
client_id = self._get_client_id(**kwargs)
body['worker'] = client_id
- kwargs['token'] = self._token_getter.get_token()
return super().create(body, **kwargs)