From 5f4082a27747462d725a1f5ab3293ff2600292f0 Mon Sep 17 00:00:00 2001 From: Daniel Devaud Date: Thu, 29 Aug 2024 08:14:25 +0200 Subject: [PATCH] allow non asset currency import --- apps/api/src/app/import/import.service.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/api/src/app/import/import.service.ts b/apps/api/src/app/import/import.service.ts index 4dc3a1950..5199a1a7b 100644 --- a/apps/api/src/app/import/import.service.ts +++ b/apps/api/src/app/import/import.service.ts @@ -631,12 +631,6 @@ export class ImportService { `activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")` ); } - - if (assetProfile.currency !== currency) { - throw new Error( - `activities.${index}.currency ("${currency}") does not match with currency of ${assetProfile.symbol} ("${assetProfile.currency}")` - ); - } } assetProfiles[getAssetProfileIdentifier({ dataSource, symbol })] =