chore: renamings
This commit is contained in:
parent
eb88592473
commit
0b49541c15
|
@ -163,7 +163,7 @@
|
|||
<q-list>
|
||||
<q-expansion-item
|
||||
group="extras"
|
||||
icon="swap_vertical_circle"
|
||||
icon="download"
|
||||
label="Version"
|
||||
:content-inset-level="0.5"
|
||||
>
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user