use analysis order id as valis tellimuse id (#92)
* use order analysis id as valis tellimuse id * send analysis order id in xml
This commit is contained in:
@@ -29,7 +29,7 @@ export async function POST(request: Request) {
|
||||
},
|
||||
orderedAnalysisElementsIds: orderedAnalysisElementsIds.map(({ analysisElementId }) => analysisElementId).filter(Boolean) as number[],
|
||||
orderedAnalysesIds: orderedAnalysisElementsIds.map(({ analysisId }) => analysisId).filter(Boolean) as number[],
|
||||
orderId: medusaOrderId,
|
||||
orderId: analysisOrder.id,
|
||||
orderCreatedAt: new Date(analysisOrder.created_at),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user