We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0cea20 commit 17e46eaCopy full SHA for 17e46ea
1 file changed
packages/updatePrescriptionStatus/src/utils/sqsClient.ts
@@ -67,6 +67,12 @@ export async function pushPrescriptionToNotificationSQS(
67
68
// Only allow through sites and systems that are allowedSitesAndSystems
69
const allowedSitesAndSystemsData = await checkSiteOrSystemIsNotifyEnabled(data)
70
+ logger.info(
71
+ "Filtered out sites and suppliers that are not enabled, or are explicitly disabled",
72
+ {
73
+ numItemsAllowed: allowedSitesAndSystemsData.length
74
+ }
75
+ )
76
77
// SQS batch calls are limited to 10 messages per request, so chunk the data
78
const batches = chunkArray(allowedSitesAndSystemsData, 10)
0 commit comments