Browse Source

Improve import validation

pull/2305/head
Thomas 2 years ago
parent
commit
1cd87dd9ff
  1. 2
      apps/api/src/app/import/import.service.ts

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

@ -566,7 +566,7 @@ export class ImportService {
]) ])
)?.[symbol]; )?.[symbol];
if (!assetProfile) { if (!assetProfile?.name) {
throw new Error( throw new Error(
`activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")` `activities.${index}.symbol ("${symbol}") is not valid for the specified data source ("${dataSource}")`
); );

Loading…
Cancel
Save