mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 15:36:04 -03:30
Fix 400 error from job labels sublist (#13972)
This was caused by an incorrect parent_key ref from label to job also applies to workflow_job labels This fixes a regression introduced by a recent merge (#13957)
This commit is contained in:
@@ -3333,7 +3333,6 @@ class JobLabelList(SubListAPIView):
|
||||
serializer_class = serializers.LabelSerializer
|
||||
parent_model = models.Job
|
||||
relationship = 'labels'
|
||||
parent_key = 'job'
|
||||
|
||||
|
||||
class WorkflowJobLabelList(JobLabelList):
|
||||
|
||||
Reference in New Issue
Block a user