feat: delete partial analysis responses in medipost after sync
This commit is contained in:
@@ -435,6 +435,9 @@ export async function readPrivateMessageResponse({
|
|||||||
medusaOrderId,
|
medusaOrderId,
|
||||||
orderStatus: 'PARTIAL_ANALYSIS_RESPONSE',
|
orderStatus: 'PARTIAL_ANALYSIS_RESPONSE',
|
||||||
});
|
});
|
||||||
|
if (IS_ENABLED_DELETE_PRIVATE_MESSAGE) {
|
||||||
|
await deletePrivateMessage(privateMessageId);
|
||||||
|
}
|
||||||
hasAnalysisResponse = true;
|
hasAnalysisResponse = true;
|
||||||
hasPartialAnalysisResponse = true;
|
hasPartialAnalysisResponse = true;
|
||||||
} else if (status.isCompleted) {
|
} else if (status.isCompleted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user