chore: renamings

This commit is contained in:
Vlad Stan 2023-01-16 11:30:43 +02:00
parent eb88592473
commit 0b49541c15
2 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@
<q-list> <q-list>
<q-expansion-item <q-expansion-item
group="extras" group="extras"
icon="swap_vertical_circle" icon="download"
label="Version" label="Version"
:content-inset-level="0.5" :content-inset-level="0.5"
> >

View File

@ -390,14 +390,14 @@ async def fetch_github_repo_info(org: str, repository: str):
) )
repo = resp.json() repo = resp.json()
releases_url = ( lates_release_url = (
f"https://api.github.com/repos/{org}/{repository}/releases/latest" 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: if resp.status_code != 200:
raise HTTPException( raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, 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() latest_release = resp.json()