From 62a74f9c844c2b76c3a24cc80c194f295220b7a2 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 25 Mar 2014 19:49:58 -0400 Subject: [PATCH] AC-1096 Fixed typo for project current_update. --- awx/api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/serializers.py b/awx/api/serializers.py index afd5e13ee3..3a20effbe7 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -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,))