Fix DailyBalanceService query return type.
This commit is contained in:
parent
c0bc7b82b3
commit
ac0aa056cf
@ -13,7 +13,7 @@ export class DailyBalanceService {
|
||||
private restangular: Restangular
|
||||
) {}
|
||||
|
||||
query(id: number): Observable<DailyBalance> {
|
||||
query(id: number): Observable<DailyBalance[]> {
|
||||
return this.restangular.one('account', id).one('daily_balances').getList();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user