Browse Source

fix: 修复上传bug

pull/7842/head
feng626 3 years ago committed by Jiangjie.Bai
parent
commit
4e8defc647
  1. 2
      apps/common/mixins/api/action.py

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

Loading…
Cancel
Save