fix: 修复上传bug

pull/7842/head
feng626 2022-03-14 17:53:21 +08:00 committed by Jiangjie.Bai
parent 2f18208874
commit 4e8defc647
1 changed files with 1 additions and 1 deletions

View File

@ -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,