diff --git a/src/officehours_api/backends/zoom.py b/src/officehours_api/backends/zoom.py index 8afe1492..d86c398b 100644 --- a/src/officehours_api/backends/zoom.py +++ b/src/officehours_api/backends/zoom.py @@ -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(