From 9d9b805b0e9a23599cd7080407249324e2efb85f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Fri, 17 Feb 2023 19:20:14 +0100 Subject: [PATCH] Bugfix/do not skip manual data source (#1718) * Do not skip MANUAL data source * Update changelog --- CHANGELOG.md | 1 + apps/api/src/services/data-gathering.service.ts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54b2309eb..b32d69950 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixed an issue in the data gathering service (do not skip `MANUAL` data source) - Fixed the buying power calculation if no emergency fund is set but an activity is tagged as _Emergency Fund_ ## 1.235.0 - 2023-02-16 diff --git a/apps/api/src/services/data-gathering.service.ts b/apps/api/src/services/data-gathering.service.ts index 6e8ceb808..236016579 100644 --- a/apps/api/src/services/data-gathering.service.ts +++ b/apps/api/src/services/data-gathering.service.ts @@ -207,10 +207,6 @@ export class DataGatheringService { public async gatherSymbols(aSymbolsWithStartDate: IDataGatheringItem[]) { for (const { dataSource, date, symbol } of aSymbolsWithStartDate) { - if (dataSource === 'MANUAL') { - continue; - } - await this.addJobToQueue( GATHER_HISTORICAL_MARKET_DATA_PROCESS, {