fix: handover revert 可传入handler2

This commit is contained in:
caoqianming 2025-08-21 20:17:02 +08:00
parent c58c79a18a
commit 8b6d6fd668
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ class HandoverViewSet(CustomModelViewSet):
"""
ins: Handover = self.get_object()
if ins.submit_time:
handover_revert(ins, handle_user=request.user)
handover_revert(ins, handler=request.user)
return Response()
@action(methods=['post'], detail=False, perms_map={'post': '*'}, serializer_class=HandoverMgroupSerializer)