feat(MED-161): no need for default value as it's only used in one place

This commit is contained in:
2025-09-17 11:28:32 +03:00
parent 5c4831c5af
commit 8a7d88d645
2 changed files with 2 additions and 5 deletions

View File

@@ -177,7 +177,7 @@ export async function composeOrderXML({
return `<?xml version="1.0" encoding="UTF-8"?>
<Saadetis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TellimusLOINC.xsd">
${getPais(USER, RECIPIENT, orderId)}
${getPais(USER, RECIPIENT, orderId, "OL")}
<Tellimus cito="EI">
<ValisTellimuseId>${orderId}</ValisTellimuseId>
${getClientInstitution()}

View File

@@ -9,11 +9,8 @@ export const getPais = (
sender: string,
recipient: string,
orderId: number,
packageName = "OL",
packageName: string,
) => {
if (isProd) {
// return correct data
}
return `<Pais>
<Pakett versioon="20">${packageName}</Pakett>
<Saatja>${sender}</Saatja>