fix: kingClient get_token request 4
This commit is contained in:
parent
1a2baa82d9
commit
4004278f31
|
@ -58,6 +58,7 @@ class KingClient(HandleLogMixin):
|
||||||
count = count - 1
|
count = count - 1
|
||||||
if count < 0:
|
if count < 0:
|
||||||
break
|
break
|
||||||
|
self.headers['Authorization'] = cache.get('king_token')
|
||||||
self.log = {"requested_at": now(), "id": uuid.uuid4(), "path": url, "method": method,
|
self.log = {"requested_at": now(), "id": uuid.uuid4(), "path": url, "method": method,
|
||||||
"params": params, "body": json, "target": "king", "result": 10, "headers": self.headers}
|
"params": params, "body": json, "target": "king", "result": 10, "headers": self.headers}
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue