mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
AC-1096 Fixed typo for project current_update.
This commit is contained in:
parent
6e05e39c09
commit
62a74f9c84
@ -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,))
|
||||||
|
Loading…
Reference in New Issue
Block a user