You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/01/10 03:38:36 UTC

[24/50] incubator-trafficcontrol git commit: update user response to have 'response' field to be consistent with other API responses

update user response to have 'response' field to be consistent with other API responses


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/7ed3faba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/7ed3faba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/7ed3faba

Branch: refs/heads/master
Commit: 7ed3faba020e561c86aa08dbf3b32345560613e1
Parents: f706d99
Author: Dave Neuman <ne...@apache.org>
Authored: Tue Dec 6 16:09:48 2016 -0700
Committer: Dan Kirkwood <da...@gmail.com>
Committed: Sun Jan 8 21:05:00 2017 -0700

----------------------------------------------------------------------
 traffic_ops/app/lib/API/User.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/7ed3faba/traffic_ops/app/lib/API/User.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/User.pm b/traffic_ops/app/lib/API/User.pm
index fab4b85..690b176 100644
--- a/traffic_ops/app/lib/API/User.pm
+++ b/traffic_ops/app/lib/API/User.pm
@@ -101,7 +101,7 @@ sub index {
 			}
 		);
 	}
-	$self->render( json => \@data );
+	$self->success( \@data );
 }
 
 sub show {