From 4e8defc647db37355eec26b544a84861f9ee2d21 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Mon, 14 Mar 2022 17:53:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/mixins/api/action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mixins/api/action.py b/apps/common/mixins/api/action.py index 96b01eb08..76585f353 100644 --- a/apps/common/mixins/api/action.py +++ b/apps/common/mixins/api/action.py @@ -38,7 +38,7 @@ class SuggestionMixin: class RenderToJsonMixin: @action(methods=[POST], detail=False, url_path='render-to-json') - def render_to_json(self, request: Request): + def render_to_json(self, request: Request, *args, **kwargs): data = { 'title': (), 'data': request.data,