mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-20 09:53:56 +00:00
fix: remove revanced-api from tools map
This commit is contained in:
@@ -5,7 +5,7 @@ from api.github import github
|
||||
from api.ping import ping
|
||||
from api.socials import socials
|
||||
from api.info import info
|
||||
from api.compat import github as old
|
||||
from api.compat import github as compat
|
||||
from api.donations import donations
|
||||
|
||||
api = Blueprint.group(ping, github, info, socials, donations, old, url_prefix="/")
|
||||
api = Blueprint.group(ping, github, info, socials, donations, compat, url_prefix="/")
|
||||
|
||||
@@ -52,7 +52,8 @@ async def tools(request: Request) -> JSONResponse:
|
||||
repositories=[
|
||||
GithubRepository(owner=owner, name=repo)
|
||||
for repo in compat_repositories
|
||||
if repo not in ["revanced-releases-api", "revanced-website"]
|
||||
if repo
|
||||
not in ["revanced-api", "revanced-releases-api", "revanced-website"]
|
||||
],
|
||||
dev=True if request.args.get("dev") else False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user