remove confirmed api
This commit is contained in:
@@ -228,18 +228,18 @@ export async function handlePlaceOrder({ cart }: { cart: StoreCart }) {
|
||||
logger.error('Missing email to send order result email', orderResult);
|
||||
}
|
||||
|
||||
if (bookServiceResults?.length) {
|
||||
bookServiceResults.forEach(async ({ bookingCode, clinicKey }) => {
|
||||
if (!bookingCode || !clinicKey) {
|
||||
logger.info('A booking is missing either bookingCode or clinicKey', {
|
||||
bookingCode,
|
||||
clinicKey,
|
||||
});
|
||||
return;
|
||||
}
|
||||
await getConfirmedService(bookingCode, clinicKey);
|
||||
});
|
||||
}
|
||||
// if (bookServiceResults?.length) {
|
||||
// bookServiceResults.forEach(async ({ bookingCode, clinicKey }) => {
|
||||
// if (!bookingCode || !clinicKey) {
|
||||
// logger.info('A booking is missing either bookingCode or clinicKey', {
|
||||
// bookingCode,
|
||||
// clinicKey,
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
// await getConfirmedService(bookingCode, clinicKey);
|
||||
// });
|
||||
// }
|
||||
|
||||
if (env().isEnabledDispatchOnMontonioCallback && orderContainsSynlabItems) {
|
||||
await sendOrderToMedipost({ medusaOrderId, orderedAnalysisElements });
|
||||
|
||||
Reference in New Issue
Block a user