1
0
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:
Chris Church 2014-03-25 19:49:58 -04:00
parent 6e05e39c09
commit 62a74f9c84

View File

@ -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,))