Skip to content

Commit

Permalink
Remove superfluous copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ssciolla committed Sep 6, 2022
1 parent 4bb8697 commit 6028367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/officehours_api/backends/zoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _calculate_expires_at(cls, expires_in: int) -> float:

@classmethod
def _get_access_token(cls, user: User) -> str:
zoom_meta = user.profile.backend_metadata['zoom'].copy()
zoom_meta = user.profile.backend_metadata['zoom']
if time() > zoom_meta['access_token_expires']:
logger.debug('Refreshing token')
resp = requests.post(
Expand Down

0 comments on commit 6028367

Please sign in to comment.