From 0b49541c15ac29030c5c5dc97b7f48190ed6af2b Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 16 Jan 2023 11:30:43 +0200 Subject: [PATCH] chore: renamings --- lnbits/core/templates/core/install.html | 2 +- lnbits/extension_manger.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lnbits/core/templates/core/install.html b/lnbits/core/templates/core/install.html index 65a7355b..af51e547 100644 --- a/lnbits/core/templates/core/install.html +++ b/lnbits/core/templates/core/install.html @@ -163,7 +163,7 @@ diff --git a/lnbits/extension_manger.py b/lnbits/extension_manger.py index caf58957..58e548e9 100644 --- a/lnbits/extension_manger.py +++ b/lnbits/extension_manger.py @@ -390,14 +390,14 @@ async def fetch_github_repo_info(org: str, repository: str): ) repo = resp.json() - releases_url = ( + lates_release_url = ( f"https://api.github.com/repos/{org}/{repository}/releases/latest" ) - resp = await client.get(releases_url) + resp = await client.get(lates_release_url) if resp.status_code != 200: raise HTTPException( status_code=HTTPStatus.NOT_FOUND, - detail=f"Cannot fetch extension releases: {releases_url}", + detail=f"Cannot fetch extension releases: {lates_release_url}", ) latest_release = resp.json()