From 57e676baa1d5a595ae0cba118c1613c0dfaec31b Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sat, 8 Jun 2024 19:52:10 -0400 Subject: [PATCH] Adjust to fastapi changes. --- etebase_server/fastapi/msgpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etebase_server/fastapi/msgpack.py b/etebase_server/fastapi/msgpack.py index 496a75a..d857b16 100644 --- a/etebase_server/fastapi/msgpack.py +++ b/etebase_server/fastapi/msgpack.py @@ -48,7 +48,7 @@ class MsgpackRoute(APIRoute): status_code=self.status_code, # use custom response class or fallback on default self.response_class response_class=self.ROUTES_HANDLERS_CLASSES.get(media_type, self.response_class), - response_field=self.secure_cloned_response_field, + response_field=self.response_field, response_model_include=self.response_model_include, response_model_exclude=self.response_model_exclude, response_model_by_alias=self.response_model_by_alias,