Browse Source

Improve asset profile validation for MANUAL data source

pull/2886/head
Thomas Kaul 2 years ago
parent
commit
54baaa532a
  1. 2
      apps/api/src/app/import/import.service.ts

2
apps/api/src/app/import/import.service.ts

@ -583,7 +583,6 @@ export class ImportService {
); );
} }
if (dataSource !== 'MANUAL') {
const assetProfile = ( const assetProfile = (
await this.dataProviderService.getAssetProfiles([ await this.dataProviderService.getAssetProfiles([
{ dataSource, symbol } { dataSource, symbol }
@ -611,7 +610,6 @@ export class ImportService {
assetProfiles[getAssetProfileIdentifier({ dataSource, symbol })] = assetProfiles[getAssetProfileIdentifier({ dataSource, symbol })] =
assetProfile; assetProfile;
} }
}
return assetProfiles; return assetProfiles;
} }

Loading…
Cancel
Save