Skip to content

Commit ab45511

Browse files
committed
actually log
1 parent 3deea27 commit ab45511

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/updatePrescriptionStatus/src/utils/sqsClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export async function pushPrescriptionToNotificationSQS(
212212
}
213213

214214
// Only allow through sites and systems that are allowedSitesAndSystems
215-
const allowedSitesAndSystemsData = await checkSiteOrSystemIsNotifyEnabled(data)
215+
const allowedSitesAndSystemsData = await checkSiteOrSystemIsNotifyEnabled(data, logger)
216216

217217
// Only these statuses will be pushed to the SQS
218218
const updateStatuses: Set<string> = new Set([

packages/updatePrescriptionStatus/src/validation/notificationSiteAndSystemFilters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function checkSiteOrSystemIsNotifyEnabled(
6666

6767
logger?.info(
6868
"Product ID, application name, and ODS code",
69-
{ApplicationID: appId, applicationName: appName, odsCode}
69+
{appId, appName, odsCode}
7070
)
7171

7272
// Is this item supplier enabled?

0 commit comments

Comments
 (0)