diff --git a/pom.xml b/pom.xml index 1f79e06..28c2d33 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 de.tilman next-transactions - 1.9.3 + 1.9.4 org.springframework.boot diff --git a/src/main/resources/static/app/controllers.js b/src/main/resources/static/app/controllers.js index 086da6e..64985f5 100644 --- a/src/main/resources/static/app/controllers.js +++ b/src/main/resources/static/app/controllers.js @@ -19,9 +19,9 @@ function numberToAmount(number) { transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routeParams', '$resource', '$q', '$uibModal', '$log', 'Transaction', function($scope, $routeParams, $resource, $q, $uibModal, $log, Transaction) { function refreshExpenses() { - var accountUsers = $resource($scope.account._links.users.href).get(); + var accountUsers = $resource($scope.account._links.appusers.href).get(); accountUsers.$promise.then(function(data) { - $scope.accountUsers = accountUsers._embedded.users; + $scope.accountUsers = accountUsers._embedded.appusers; // get outstandings (expenses and withdrawals) for all users of the account var promises = new Array($scope.accountUsers.length);