remove karma endpoints from schema + add webhook notification for debugging (failed lyrics searches, non-LRC)

This commit is contained in:
2025-05-01 06:32:28 -04:00
parent 8848d3a493
commit ad43db289a
6 changed files with 21 additions and 17 deletions

View File

@ -168,6 +168,10 @@ class LyricSearch(FastAPI):
)
if not result:
if not data.lrc:
await self.notifier.send(
"DEBUG", f"Could not locate lyrics, request was:\n`{data}`"
)
return JSONResponse(
content={
"err": True,