This commit is contained in:
team3
2026-06-22 10:13:30 +02:00
parent b54f5e23f3
commit 4f1f8d18d0
7 changed files with 60 additions and 25 deletions

View File

@@ -478,7 +478,7 @@ async def list_all():
async def guide_locks(topic: str):
"""Sperr-Gründe pro Format für den ▶-Button — None = erstellbar."""
guides, progress, levels = await lade_lernstand()
return {fmt: guide_lock(topic, fmt, guides, progress, levels) for fmt in ("Roadmap", *FORMATE)}
return {fmt: guide_lock(topic, fmt, guides, progress, levels) for fmt in ("Roadmap", "FullGuide", "Rest", *FORMATE)}
@router.get("/guides/{guide_id}", response_model=GuideResponse)