mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
[bluesky] update refresh token after using it (#4438)
This commit is contained in:
parent
9c10be54fb
commit
5c2a2321a2
@ -289,8 +289,7 @@ class BlueskyAPI():
|
||||
raise exception.AuthenticationError('"{}: {}"'.format(
|
||||
data.get("error"), data.get("message")))
|
||||
|
||||
if not refresh_token:
|
||||
_refresh_token_cache.update(self.username, data["refreshJwt"])
|
||||
_refresh_token_cache.update(self.username, data["refreshJwt"])
|
||||
return "Bearer " + data["accessJwt"]
|
||||
|
||||
def _call(self, endpoint, params):
|
||||
|
Loading…
Reference in New Issue
Block a user