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