From 7212c16dde66950b1a5456e98bba1effbe6aebf1 Mon Sep 17 00:00:00 2001 From: Antoine Clausse Date: Fri, 26 Jul 2024 14:49:03 +0200 Subject: [PATCH] [web] Fix: `sendConfirmationEmail` promise (!!!) (#19629) * Fix `sendConfirmationEmail` promise (!!!) * Fix: No nested promises, and `sendConfirmationEmail`->`sendReconfirmationEmail` * Add integration test on `/user/emails/send-reconfirmation` * Update integration test: use the previously generated token GitOrigin-RevId: f6386abeb06888351eec22fbcb1d3c614ff5c5c5 --- .../web/app/src/Features/User/UserEmailsConfirmationHandler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/src/Features/User/UserEmailsConfirmationHandler.js b/services/web/app/src/Features/User/UserEmailsConfirmationHandler.js index 6c5c369195..792b003b7a 100644 --- a/services/web/app/src/Features/User/UserEmailsConfirmationHandler.js +++ b/services/web/app/src/Features/User/UserEmailsConfirmationHandler.js @@ -133,6 +133,7 @@ UserEmailsConfirmationHandler.promises = { sendConfirmationEmail: promisify(sendConfirmationEmail), confirmEmailFromToken, sendConfirmationCode, + sendReconfirmationEmail, } module.exports = UserEmailsConfirmationHandler