diff --git a/apps/third/king/k.py b/apps/third/king/k.py index 63ea4d85..7c69ca8e 100644 --- a/apps/third/king/k.py +++ b/apps/third/king/k.py @@ -58,6 +58,7 @@ class KingClient(HandleLogMixin): count = count - 1 if count < 0: break + self.headers['Authorization'] = cache.get('king_token') self.log = {"requested_at": now(), "id": uuid.uuid4(), "path": url, "method": method, "params": params, "body": json, "target": "king", "result": 10, "headers": self.headers} try: