diff --git a/lnbits/extension_manger.py b/lnbits/extension_manger.py index 43f1ac14..c7d6ea48 100644 --- a/lnbits/extension_manger.py +++ b/lnbits/extension_manger.py @@ -399,7 +399,7 @@ async def fetch_github_repo_info(org: str, repository: str): detail=f"Cannot fetch extension releases: {releases_url}", ) - releases = resp.json() + releases= [r for r in resp.json() if r["draft"] == False and r["prerelease"] == False] config_url = f"""https://raw.githubusercontent.com/{org}/{repository}/{repo["default_branch"]}/config.json""" resp = await client.get(config_url)