Fix API URI.

This commit is contained in:
Alexis Lahouze 2017-06-10 18:02:34 +02:00
parent 5c25d5c79f
commit a9c45119d6

View File

@ -51,7 +51,7 @@ var accountModule = angular.module('accountant.accounts', [
); );
Account.prototype.getSolds = function() { 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(); this.solds = Solds.get();
}; };