mirror of https://github.com/jumpserver/jumpserver
fix: 修复上传bug
parent
2f18208874
commit
4e8defc647
|
@ -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…
Reference in New Issue