fix: 停止任务的bug
This commit is contained in:
parent
ae0832010f
commit
e5bbb48ceb
|
@ -35,7 +35,7 @@ class UtaskViewSet(CustomModelViewSet):
|
|||
|
||||
@action(methods=['post'], detail=True, perms_map={'post': 'utask.stop'}, serializer_class=Serializer)
|
||||
@transaction.atomic
|
||||
def stop(self, request, *args, ):
|
||||
def stop(self, request, *args, **kwargs):
|
||||
"""停止任务
|
||||
|
||||
停止任务
|
||||
|
|
Loading…
Reference in New Issue