fix: 修复swagger

This commit is contained in:
feng626
2022-08-19 18:49:00 +08:00
parent 05f913ab18
commit fe4df4b179
21 changed files with 150 additions and 45 deletions

View File

@@ -25,7 +25,6 @@ class CommandExecutionViewSet(RootOrgViewMixin, viewsets.ModelViewSet):
def check_hosts(self, serializer):
data = serializer.validated_data
assets = data["hosts"]
system_user = data["run_as"]
user = self.request.user
# TOdo: