(aid: str, token: str = Depends(get_token))
| 54 | |
| 55 | @app.get("/feed/{aid}") |
| 56 | async def fetch_feed(aid: str, token: str = Depends(get_token)): |
| 57 | try: |
| 58 | resp = await get_feed(aid, token) |
| 59 | return resp |
| 60 | except Exception as e: |
| 61 | raise HTTPException( |
| 62 | detail=str(e), status_code=status.HTTP_500_INTERNAL_SERVER_ERROR |
| 63 | ) |
| 64 | |
| 65 | |
| 66 | @app.post("/generate/lyrics/") |
nothing calls this directly
no test coverage detected