app/routes.py aktualisiert
docker-build-and-push / build (push) Successful in 19s

This commit is contained in:
2026-08-03 15:25:45 +02:00
parent 41014dadf9
commit 077a1c5910
-6
View File
@@ -52,9 +52,3 @@ async def list_repos():
async with httpx.AsyncClient() as client:
resp = await client.get(f"{GITEE_URL}/api/v1/user/repos", headers=headers)
return resp.json()
@router.get("/repos/{repo_id}/status")
async def get_repo_status(repo_id: int):
import os
# Prüfe ob Ordner existiert
return {"subscribed": os.path.exists(f"/projects/repo-{repo_id}")}