Browse Source

Block Syntax

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

14
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;
}
}
}

Loading…
Cancel
Save