Skip to content

Commit

Permalink
fix: removed legacy way of doing access token
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Sep 9, 2024
1 parent 58223e6 commit f5baf17
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dropbox/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def auth_callback(self, params, headers):
if not self.refresh_token:
return
self.oauth_refresh()
params["access_token"] = self.get_access_token()
headers["Authorization"] = "Bearer %s" % self.get_access_token()

def oauth_authorize(self, state=None, token_access_type="offline", prompt=True):
Expand Down

0 comments on commit f5baf17

Please sign in to comment.