From a69a3442aba619dd163a0ccb7a3ef286aed389dd Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 8 Mar 2023 20:13:53 +0100 Subject: [PATCH] Feature/add coingecko as default data source (#1775) * Add CoinGecko as a default data source * Update changelog --- CHANGELOG.md | 2 ++ apps/api/src/services/configuration.service.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9482e9f01..c633de40f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +- Added `COINGECKO` as a default to `DATA_SOURCES` + ### Changed - Harmonized the axis style of charts diff --git a/apps/api/src/services/configuration.service.ts b/apps/api/src/services/configuration.service.ts index 67ac2ca1b..c4c3c4834 100644 --- a/apps/api/src/services/configuration.service.ts +++ b/apps/api/src/services/configuration.service.ts @@ -19,7 +19,7 @@ export class ConfigurationService { CACHE_TTL: num({ default: 1 }), DATA_SOURCE_PRIMARY: str({ default: DataSource.YAHOO }), DATA_SOURCES: json({ - default: [DataSource.MANUAL, DataSource.YAHOO] + default: [DataSource.COINGECKO, DataSource.MANUAL, DataSource.YAHOO] }), ENABLE_FEATURE_BLOG: bool({ default: false }), ENABLE_FEATURE_FEAR_AND_GREED_INDEX: bool({ default: false }),