diff --git a/pom.xml b/pom.xml index 8878bfe..1f79e06 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 de.tilman next-transactions - 1.9.2 + 1.9.3 org.springframework.boot diff --git a/src/main/resources/static/app/controllers.js b/src/main/resources/static/app/controllers.js index 0941c8f..086da6e 100644 --- a/src/main/resources/static/app/controllers.js +++ b/src/main/resources/static/app/controllers.js @@ -160,7 +160,7 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routePara userinfo.$promise.then(function(data) { $scope.userid = userinfo.name; - userinfo = $resource('/api/users/search/findByUsername', { username: $scope.userid }).get(); + userinfo = $resource('/api/appusers/search/findByUsername', { username: $scope.userid }).get(); userinfo.$promise.then(function(data) { $scope.userinfo = userinfo; }); @@ -446,7 +446,7 @@ transactionControllers.controller('ImportCtrl', [ '$scope', '$resource', '$locat userinfo.$promise.then(function(data) { $scope.userid = userinfo.name; - userinfo = $resource('/api/users/search/findByUsername', { username: $scope.userid }).get(); + userinfo = $resource('/api/appusers/search/findByUsername', { username: $scope.userid }).get(); userinfo.$promise.then(function(data) { $scope.userinfo = userinfo; });