mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 06:00:55 +00:00
get clearance fix
This commit is contained in:
@@ -724,9 +724,7 @@ export class TrainSchedulingService {
|
||||
}
|
||||
});
|
||||
|
||||
const detail = await this.getTrainScheduleById(scheduleId);
|
||||
const warehouseAutomation = await this.runWarehouseArrivalAutomation(scheduleId);
|
||||
return Object.assign(detail, { warehouseAutomation });
|
||||
return this.getTrainScheduleById(scheduleId);
|
||||
}
|
||||
|
||||
async finalizeSchedule(scheduleId: string) {
|
||||
@@ -1136,7 +1134,9 @@ export class TrainSchedulingService {
|
||||
}
|
||||
});
|
||||
|
||||
return this.getTrainScheduleById(scheduleId);
|
||||
const detail = await this.getTrainScheduleById(scheduleId);
|
||||
const warehouseAutomation = await this.runWarehouseArrivalAutomation(scheduleId);
|
||||
return Object.assign(detail, { warehouseAutomation });
|
||||
}
|
||||
|
||||
async getContainerTrainSchedules() {
|
||||
|
||||
Reference in New Issue
Block a user