diff --git a/endpoints/ai.py b/endpoints/ai.py index 7c54369..80a66f6 100644 --- a/endpoints/ai.py +++ b/endpoints/ai.py @@ -50,7 +50,7 @@ class AI(FastAPI): } for endpoint, handler in self.endpoints.items(): - app.add_api_route(f"/{endpoint}", handler, methods=["POST"] if not endpoint == "testy" else ["POST", "GET"]) + app.add_api_route(f"/{endpoint}", handler, methods=["GET", "POST"]) async def respond_via_webhook(self, data: ValidHookSongRequest, originalRequest: Request):