eslint fix

This commit is contained in:
Danel Kungla
2025-10-07 18:43:42 +03:00
parent f614759986
commit 17e7a98534
29 changed files with 34 additions and 217 deletions

View File

@@ -397,7 +397,7 @@ export async function readPrivateMessageResponse({
try {
analysisOrder = await getAnalysisOrder({ analysisOrderId });
medusaOrderId = analysisOrder.medusa_order_id;
} catch (e) {
} catch {
if (IS_ENABLED_DELETE_PRIVATE_MESSAGE) {
await deletePrivateMessage(privateMessageId);
}
@@ -571,7 +571,6 @@ export async function sendOrderToMedipost({
phone: account.phone ?? '',
},
orderId: medreportOrder.id,
orderCreatedAt: new Date(medreportOrder.created_at),
comment: '',
});

View File

@@ -33,7 +33,6 @@ export async function composeOrderXML({
analysisElements,
person,
orderId,
orderCreatedAt,
comment,
}: {
analyses: AnalysesWithGroupsAndElements;
@@ -45,7 +44,6 @@ export async function composeOrderXML({
phone: string;
};
orderId: number;
orderCreatedAt: Date;
comment?: string;
}) {
const analysisGroups: Tables<{ schema: 'medreport' }, 'analysis_groups'>[] =