mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
AC-1096 Fixed typo for project current_update.
This commit is contained in:
@@ -368,7 +368,7 @@ class ProjectSerializer(BaseSerializer):
|
|||||||
# Backwards compatibility.
|
# Backwards compatibility.
|
||||||
if obj.current_update:
|
if obj.current_update:
|
||||||
res['current_update'] = reverse('api:project_update_detail',
|
res['current_update'] = reverse('api:project_update_detail',
|
||||||
args=(obj.last_update.pk,))
|
args=(obj.current_update.pk,))
|
||||||
if obj.last_update:
|
if obj.last_update:
|
||||||
res['last_update'] = reverse('api:project_update_detail',
|
res['last_update'] = reverse('api:project_update_detail',
|
||||||
args=(obj.last_update.pk,))
|
args=(obj.last_update.pk,))
|
||||||
|
|||||||
Reference in New Issue
Block a user