remove karma endpoints from schema + add webhook notification for debugging (failed lyrics searches, non-LRC)
This commit is contained in:
@@ -152,7 +152,7 @@ class Karma(FastAPI):
|
||||
|
||||
for endpoint, handler in self.endpoints.items():
|
||||
app.add_api_route(
|
||||
f"/{endpoint}", handler, methods=["POST"], include_in_schema=True
|
||||
f"/{endpoint}", handler, methods=["POST"], include_in_schema=False
|
||||
)
|
||||
|
||||
async def top_karma_handler(
|
||||
|
||||
Reference in New Issue
Block a user