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,7 +289,6 @@ class BlueskyAPI():
|
||||
raise exception.AuthenticationError('"{}: {}"'.format(
|
||||
data.get("error"), data.get("message")))
|
||||
|
||||
if not refresh_token:
|
||||
_refresh_token_cache.update(self.username, data["refreshJwt"])
|
||||
return "Bearer " + data["accessJwt"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user