mirror of
https://github.com/ansible/awx.git
synced 2026-05-05 16:37:37 -02:30
AC-1040 Cleanup old code in tasks, combine methods from unified job subclasses into base classes.
This commit is contained in:
@@ -491,7 +491,7 @@ class ProjectUpdateView(GenericAPIView):
|
||||
def post(self, request, *args, **kwargs):
|
||||
obj = self.get_object()
|
||||
if obj.can_update:
|
||||
project_update = obj.update(**request.DATA)
|
||||
project_update = obj.update()
|
||||
if not project_update:
|
||||
return Response({}, status=status.HTTP_400_BAD_REQUEST)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user