diff --git a/packages/amplify-category-auth/provider-utils/awscloudformation/triggers/CustomMessage/verification-link.js b/packages/amplify-category-auth/provider-utils/awscloudformation/triggers/CustomMessage/verification-link.js index 2a1b41765a8..241c43b922f 100644 --- a/packages/amplify-category-auth/provider-utils/awscloudformation/triggers/CustomMessage/verification-link.js +++ b/packages/amplify-category-auth/provider-utils/awscloudformation/triggers/CustomMessage/verification-link.js @@ -18,7 +18,7 @@ exports.handler = async event => { 'sa-east-1', ]; - const seperator = hyphenRegions.includes(region) ? '-' : '.'; + const separator = hyphenRegions.includes(region) ? '-' : '.'; const payload = Buffer.from( JSON.stringify({ @@ -28,7 +28,7 @@ exports.handler = async event => { clientId, }), ).toString('base64'); - const bucketUrl = `http://${resourcePrefix}verificationbucket-${process.env.ENV}.s3-website${seperator}${region}.amazonaws.com`; + const bucketUrl = `http://${resourcePrefix}verificationbucket-${process.env.ENV}.s3-website${separator}${region}.amazonaws.com`; const url = `${bucketUrl}/?data=${payload}&code=${codeParameter}`; const message = `${process.env.EMAILMESSAGE}. \n ${url}`; event.response.smsMessage = message;