We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bcd216 commit d9fcfceCopy full SHA for d9fcfce
1 file changed
packages/updatePrescriptionStatus/src/utils/sqsClient.ts
@@ -66,7 +66,7 @@ export async function pushPrescriptionToNotificationSQS(
66
}
67
68
// Only allow through sites and systems that are allowedSitesAndSystems
69
- const allowedSitesAndSystemsData = checkSiteOrSystemIsNotifyEnabled(data)
+ const allowedSitesAndSystemsData = await checkSiteOrSystemIsNotifyEnabled(data)
70
71
// SQS batch calls are limited to 10 messages per request, so chunk the data
72
const batches = chunkArray(allowedSitesAndSystemsData, 10)
0 commit comments