1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +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.
if obj.current_update:
res['current_update'] = reverse('api:project_update_detail',
args=(obj.last_update.pk,))
args=(obj.current_update.pk,))
if obj.last_update:
res['last_update'] = reverse('api:project_update_detail',
args=(obj.last_update.pk,))