From 0202dedb746688a47e0aa3190740f10d04ceab27 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 22 Mar 2024 23:44:02 +0300 Subject: Use correct variable name. * gn2/wqflask/oauth2/client.py (no_token_post): "uri" does not exist. Replace it with "uri_path." Signed-off-by: Munyoki Kilyungi --- gn2/wqflask/oauth2/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask') diff --git a/gn2/wqflask/oauth2/client.py b/gn2/wqflask/oauth2/client.py index e9f747f4..8feb9c7f 100644 --- a/gn2/wqflask/oauth2/client.py +++ b/gn2/wqflask/oauth2/client.py @@ -124,7 +124,7 @@ def no_token_post(uri_path: str, **kwargs) -> Either: return Right(resp.json()) return Left(resp) except requests.exceptions.RequestException as exc: - raise ExternalRequestError(uri, exc) from exc + raise ExternalRequestError(uri_path, exc) from exc def post(uri_path: str, **kwargs) -> Either: """ -- cgit v1.2.3