That api already returns the user array

This commit is contained in:
Johannes Zellner
2016-04-18 15:13:22 +02:00
parent 18f3733d6e
commit cc28d49df4

View File

@@ -334,7 +334,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
Client.getUsers(function (error, result) {
if (error) return console.error('Unable to get user listing.', error);
$scope.users = result.users;
$scope.users = result;
$scope.ready = true;
});
});