From 0db71d0ecdb6edbffa2feb0bafd71127e0cd67ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:03:29 +0000 Subject: [PATCH] get_image response class --- api/ovkiosk/routers/image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/ovkiosk/routers/image.py b/api/ovkiosk/routers/image.py index 5cda51b..0529ffc 100644 --- a/api/ovkiosk/routers/image.py +++ b/api/ovkiosk/routers/image.py @@ -96,6 +96,7 @@ async def get_image_by_name( @router.get( "/get/{prefix}", + response_class=StreamingResponse, responses={ status.HTTP_200_OK: { "description": "Operation successful",