From 6028367ba6adf5b98307c21106179bf60680a5ca Mon Sep 17 00:00:00 2001 From: Sam Sciolla Date: Tue, 6 Sep 2022 12:21:24 -0400 Subject: [PATCH] Remove superfluous copy --- src/officehours_api/backends/zoom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(