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);
|
logger.error('Missing email to send order result email', orderResult);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bookServiceResults?.length) {
|
// if (bookServiceResults?.length) {
|
||||||
bookServiceResults.forEach(async ({ bookingCode, clinicKey }) => {
|
// bookServiceResults.forEach(async ({ bookingCode, clinicKey }) => {
|
||||||
if (!bookingCode || !clinicKey) {
|
// if (!bookingCode || !clinicKey) {
|
||||||
logger.info('A booking is missing either bookingCode or clinicKey', {
|
// logger.info('A booking is missing either bookingCode or clinicKey', {
|
||||||
bookingCode,
|
// bookingCode,
|
||||||
clinicKey,
|
// clinicKey,
|
||||||
});
|
// });
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
await getConfirmedService(bookingCode, clinicKey);
|
// await getConfirmedService(bookingCode, clinicKey);
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (env().isEnabledDispatchOnMontonioCallback && orderContainsSynlabItems) {
|
if (env().isEnabledDispatchOnMontonioCallback && orderContainsSynlabItems) {
|
||||||
await sendOrderToMedipost({ medusaOrderId, orderedAnalysisElements });
|
await sendOrderToMedipost({ medusaOrderId, orderedAnalysisElements });
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { RequestStatus } from '@/lib/types/audit';
|
|||||||
import {
|
import {
|
||||||
AvailableAppointmentsResponse,
|
AvailableAppointmentsResponse,
|
||||||
BookTimeResponse,
|
BookTimeResponse,
|
||||||
ConfirmedLoadResponse,
|
|
||||||
ConnectedOnlineMethodName,
|
ConnectedOnlineMethodName,
|
||||||
FailureReason,
|
FailureReason,
|
||||||
} from '@/lib/types/connected-online';
|
} from '@/lib/types/connected-online';
|
||||||
|
|||||||
Reference in New Issue
Block a user