aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-22 23:44:02 +0300
committerBonfaceKilz2024-03-26 10:01:13 +0300
commit0202dedb746688a47e0aa3190740f10d04ceab27 (patch)
treef1a32ae05253d7b0d983c999a8f86b890b8b5dff /gn2/wqflask
parent3f8fb6f1f1eaf0897749e3af769392fc0d2eb050 (diff)
downloadgenenetwork2-0202dedb746688a47e0aa3190740f10d04ceab27.tar.gz
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 <me@bonfacemunyoki.com>
Diffstat (limited to 'gn2/wqflask')
-rw-r--r--gn2/wqflask/oauth2/client.py2
1 files changed, 1 insertions, 1 deletions
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:
"""