Fix DailyBalanceService query return type.

This commit is contained in:
Alexis Lahouze 2017-07-27 13:55:30 +02:00
parent c0bc7b82b3
commit ac0aa056cf

View File

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