fix: 修复上传bug

This commit is contained in:
feng626
2022-03-14 17:53:21 +08:00
committed by Jiangjie.Bai
parent 2f18208874
commit 4e8defc647

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,