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 });
|
||||
|
||||
@@ -5,7 +5,6 @@ import { RequestStatus } from '@/lib/types/audit';
|
||||
import {
|
||||
AvailableAppointmentsResponse,
|
||||
BookTimeResponse,
|
||||
ConfirmedLoadResponse,
|
||||
ConnectedOnlineMethodName,
|
||||
FailureReason,
|
||||
} from '@/lib/types/connected-online';
|
||||
|
||||
Reference in New Issue
Block a user