Fix API URI.

This commit is contained in:
Alexis Lahouze 2017-06-10 18:02:34 +02:00
parent 5c25d5c79f
commit a9c45119d6
1 changed files with 1 additions and 1 deletions

View File

@ -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();
};