chore: renamings
This commit is contained in:
parent
eb88592473
commit
0b49541c15
|
@ -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"
|
||||||
>
|
>
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user