Skip to content

Commit

Permalink
No response class
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Feb 5, 2024
1 parent 9f60bb3 commit e94fa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/ansible_openvpn/docker/dashboard/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down

0 comments on commit e94fa2f

Please sign in to comment.