diff options
author | Munyoki Kilyungi | 2024-03-22 23:44:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-26 10:01:13 +0300 |
commit | 0202dedb746688a47e0aa3190740f10d04ceab27 (patch) | |
tree | f1a32ae05253d7b0d983c999a8f86b890b8b5dff /gn2/wqflask/oauth2 | |
parent | 3f8fb6f1f1eaf0897749e3af769392fc0d2eb050 (diff) | |
download | genenetwork2-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/oauth2')
-rw-r--r-- | gn2/wqflask/oauth2/client.py | 2 |
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: """ |