mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 23:18:03 -03:30
Fix 500 error in ProjectScmInventorySources
This commit is contained in:
parent
e65ef35acf
commit
34b697ce17
@ -1120,7 +1120,7 @@ class ProjectSchedulesList(SubListCreateAPIView):
|
||||
class ProjectScmInventorySources(SubListCreateAPIView):
|
||||
|
||||
view_name = _("Project SCM Inventory Sources")
|
||||
model = Inventory
|
||||
model = InventorySource
|
||||
serializer_class = InventorySourceSerializer
|
||||
parent_model = Project
|
||||
relationship = 'scm_inventory_sources'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user