From e94fa2f05a7f2e0f498453c9569d2fab96113436 Mon Sep 17 00:00:00 2001 From: nicolas-f <1382241+nicolas-f@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:26:37 +0100 Subject: [PATCH] No response class --- services/ansible_openvpn/docker/dashboard/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ansible_openvpn/docker/dashboard/app/main.py b/services/ansible_openvpn/docker/dashboard/app/main.py index 752fd23..962686c 100644 --- a/services/ansible_openvpn/docker/dashboard/app/main.py +++ b/services/ansible_openvpn/docker/dashboard/app/main.py @@ -130,7 +130,7 @@ async def recordings(request: Request): context={"request": request}) -@app.get('/get-samples/{document_id}', response_class=HTMLResponse) +@app.get('/get-samples/{document_id}') async def get_samples(request: Request, document_id: str): post_data = json.loads( templates.get_template("trigger_audio.json").render(id=base64.b64decode(document_id).decode("utf-8")))