From eb952aa79b719ac4fba4b52d024dea1cc99a88ab Mon Sep 17 00:00:00 2001 From: Oleg Shvartsman Date: Tue, 2 May 2023 17:36:32 +0000 Subject: [PATCH] Block Syntax --- apps/api/src/app/portfolio/current-rate.service.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/api/src/app/portfolio/current-rate.service.ts b/apps/api/src/app/portfolio/current-rate.service.ts index a17bdf57d..970bba7bf 100644 --- a/apps/api/src/app/portfolio/current-rate.service.ts +++ b/apps/api/src/app/portfolio/current-rate.service.ts @@ -70,12 +70,12 @@ export class CurrentRateService { symbol: dataGatheringItem.symbol }); } - if (result.length == 1) { - // 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. - this.dataGatheringService.gather7Days(); - } - + } + if (result.length == 1) { + // 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. + this.dataGatheringService.gather7Days(); + } return result; }) ); @@ -171,4 +171,4 @@ export class CurrentRateService { } return false; } -} \ No newline at end of file +}