From 029cd4abe729de52dbe2a309bdd19b66a7e4d946 Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Wed, 22 May 2024 09:52:23 +0100 Subject: [PATCH] Merge pull request #18456 from overleaf/dp-fix-main-lint Fix lint by using recordEventForUserInBackground GitOrigin-RevId: 3412c9a997ce0921b25408fc584060e528843b88 --- services/web/app/src/Features/User/UserEmailsController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/src/Features/User/UserEmailsController.js b/services/web/app/src/Features/User/UserEmailsController.js index 4f8dbc39a4..d74d3b3963 100644 --- a/services/web/app/src/Features/User/UserEmailsController.js +++ b/services/web/app/src/Features/User/UserEmailsController.js @@ -427,7 +427,7 @@ async function confirmSecondaryEmailPage(req, res) { return res.redirect(redirectURL) } - AnalyticsManager.recordEventForUser( + AnalyticsManager.recordEventForUserInBackground( userId, 'confirm-secondary-email-page-displayed' ) @@ -449,7 +449,7 @@ async function addSecondaryEmailPage(req, res) { return res.redirect(redirectURL) } - AnalyticsManager.recordEventForUser( + AnalyticsManager.recordEventForUserInBackground( userId, 'add-secondary-email-page-displayed' )