feat(MED-168): mark order as completed if more than expected response elements come from post
This commit is contained in:
@@ -196,7 +196,7 @@ async function hasAllAnalysisResponseElements({
|
||||
}) {
|
||||
const allOrderResponseElements = await getExistingAnalysisResponseElements({ analysisResponseId });
|
||||
const expectedOrderResponseElements = order.analysis_element_ids?.length ?? 0;
|
||||
return allOrderResponseElements.length === expectedOrderResponseElements;
|
||||
return allOrderResponseElements.length >= expectedOrderResponseElements;
|
||||
}
|
||||
|
||||
export async function syncPrivateMessage({
|
||||
|
||||
Reference in New Issue
Block a user