Browse Source

Block Syntax

pull/1924/head
Oleg Shvartsman 2 years ago
parent
commit
eb952aa79b
  1. 2
      apps/api/src/app/portfolio/current-rate.service.ts

2
apps/api/src/app/portfolio/current-rate.service.ts

@ -70,12 +70,12 @@ export class CurrentRateService {
symbol: dataGatheringItem.symbol symbol: dataGatheringItem.symbol
}); });
} }
}
if (result.length == 1) { if (result.length == 1) {
// getValues result of size 1 ("today only") means historical data is not // getValues result of size 1 ("today only") means historical data is not
// synchronized. Queue up sync so that a refresh would pull more historical data. // synchronized. Queue up sync so that a refresh would pull more historical data.
this.dataGatheringService.gather7Days(); this.dataGatheringService.gather7Days();
} }
return result; return result;
}) })
); );

Loading…
Cancel
Save