Fix API URI.
This commit is contained in:
@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user