From a9c45119d6d925c06a6f30119e6582b8581fb494 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 10 Jun 2017 18:02:34 +0200 Subject: [PATCH] Fix API URI. --- accountant-ui/js/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant-ui/js/accounts.js b/accountant-ui/js/accounts.js index feb36a3..dadd313 100644 --- a/accountant-ui/js/accounts.js +++ b/accountant-ui/js/accounts.js @@ -51,7 +51,7 @@ var accountModule = angular.module('accountant.accounts', [ ); Account.prototype.getSolds = function() { - var Solds = $resource('/api/account/:id/solds', {id: this.id}); + var Solds = $resource('/api/account/:id/balances', {id: this.id}); this.solds = Solds.get(); };