From 55f2d9730c7d4205b34df414928bb8ce5ac24d7b Mon Sep 17 00:00:00 2001 From: Anindya Roy Date: Tue, 26 Mar 2024 11:01:02 +0530 Subject: [PATCH] NXDRIVE-2901: Authorization Error for OAuth --26/03 -Added Test case(s). --- nxdrive/client/remote_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxdrive/client/remote_client.py b/nxdrive/client/remote_client.py index ec3a555cc0..bc38cd5814 100644 --- a/nxdrive/client/remote_client.py +++ b/nxdrive/client/remote_client.py @@ -305,7 +305,7 @@ def execute(self, /, **kwargs: Any) -> Any: raise NotFound("Response code not found") raise e - def _store_token(self, auth_token): + def _store_token(self, auth_token: Any) -> None: remote_user = self.dao.get_config("remote_user") server_url = self.dao.get_config("server_url") key = f"{remote_user}{server_url}"