diff --git a/notification/index.lambda.js b/notification/index.lambda.js index 5da320b92..f28a3d79e 100644 --- a/notification/index.lambda.js +++ b/notification/index.lambda.js @@ -23,7 +23,10 @@ export const handler = async (event) => { } try { for (const notification of notificationItems) { - const ctpProjectConfig = getCtpProjectConfig(notification, event.rawPath) + const ctpProjectConfig = getCtpProjectConfig( + notification, + event.rawPath || event.path, + ) const adyenConfig = getAdyenConfig(notification) await notificationHandler.processNotification(