diff --git a/terraform-incubator/home-unite-us/dev/src/customMessage.js b/terraform-incubator/home-unite-us/dev/src/customMessage.js index 0866e82..026bb01 100644 --- a/terraform-incubator/home-unite-us/dev/src/customMessage.js +++ b/terraform-incubator/home-unite-us/dev/src/customMessage.js @@ -1,4 +1,4 @@ -export const handler = async (event) => { +module.exports.handler = async (event) => { if (event.triggerSource === 'CustomMessage_SignUp' || event.triggerSource === 'CustomMessage_ResendCode') { const codeParameter = event.request.codeParameter; const username = event.userName;