From e96e6c717cb2ef60649e3fe20c554358258f25b7 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 4 Dec 2021 08:57:22 +0100 Subject: [PATCH] Feature/enable import by default (#513) * Enable import by default * Update changelog --- CHANGELOG.md | 1 + apps/api/src/services/configuration.service.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a39613f2..e59a63c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Improved the historical data view in the admin control panel (hide invalid and future dates) +- Enabled the import functionality for transactions by default ### Fixed diff --git a/apps/api/src/services/configuration.service.ts b/apps/api/src/services/configuration.service.ts index 677e97c80..d671f6f40 100644 --- a/apps/api/src/services/configuration.service.ts +++ b/apps/api/src/services/configuration.service.ts @@ -2,7 +2,6 @@ import { Injectable } from '@nestjs/common'; import { DataSource } from '@prisma/client'; import { bool, cleanEnv, host, json, num, port, str } from 'envalid'; -import { environment } from '../environments/environment'; import { Environment } from './interfaces/environment.interface'; @Injectable() @@ -18,7 +17,7 @@ export class ConfigurationService { ENABLE_FEATURE_BLOG: bool({ default: false }), ENABLE_FEATURE_CUSTOM_SYMBOLS: bool({ default: false }), ENABLE_FEATURE_FEAR_AND_GREED_INDEX: bool({ default: false }), - ENABLE_FEATURE_IMPORT: bool({ default: !environment.production }), + ENABLE_FEATURE_IMPORT: bool({ default: true }), ENABLE_FEATURE_SOCIAL_LOGIN: bool({ default: false }), ENABLE_FEATURE_STATISTICS: bool({ default: false }), ENABLE_FEATURE_SUBSCRIPTION: bool({ default: false }),