Browse Source

allow non asset currency import

pull/5027/head
Daniel Devaud 10 months ago
parent
commit
5f4082a277
  1. 6
      apps/api/src/app/import/import.service.ts

6
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 })] =

Loading…
Cancel
Save