Browse Source

Skip data gathering

pull/2379/head
Thomas 2 years ago
parent
commit
f5d9fc0857
  1. 6
      apps/api/src/app/order/order.controller.ts

6
apps/api/src/app/order/order.controller.ts

@ -147,9 +147,9 @@ export class OrderController {
userId: this.request.user.id userId: this.request.user.id
}); });
if (data.dataSource !== 'MANUAL' && !order.isDraft) { if (data.dataSource && !order.isDraft) {
// Gather symbol data in the background, if data source not // Gather symbol data in the background, if data source is set
// MANUAL and not draft // (not MANUAL) and not draft
this.dataGatheringService.gatherSymbols([ this.dataGatheringService.gatherSymbols([
{ {
dataSource: data.dataSource, dataSource: data.dataSource,

Loading…
Cancel
Save