Thomas Kaul
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
0 deletions
-
apps/api/src/app/import/import.service.ts
-
apps/api/src/app/order/order.controller.ts
|
@ -436,6 +436,7 @@ export class ImportService { |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// TODO: Really needed or done in createOrder method?
|
|
|
this.dataGatheringService.gatherSymbols({ |
|
|
this.dataGatheringService.gatherSymbols({ |
|
|
dataGatheringItems: uniqueActivities.map(({ date, SymbolProfile }) => { |
|
|
dataGatheringItems: uniqueActivities.map(({ date, SymbolProfile }) => { |
|
|
return { |
|
|
return { |
|
|
|
@ -218,6 +218,7 @@ export class OrderController { |
|
|
userId: this.request.user.id |
|
|
userId: this.request.user.id |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// TODO: Really needed or done in createOrder method?
|
|
|
if (data.dataSource && !order.isDraft) { |
|
|
if (data.dataSource && !order.isDraft) { |
|
|
// Gather symbol data in the background, if data source is set
|
|
|
// Gather symbol data in the background, if data source is set
|
|
|
// (not MANUAL) and not draft
|
|
|
// (not MANUAL) and not draft
|
|
|