Merge pull request #18456 from overleaf/dp-fix-main-lint

Fix lint by using recordEventForUserInBackground

GitOrigin-RevId: 3412c9a997ce0921b25408fc584060e528843b88
This commit is contained in:
David 2024-05-22 09:52:23 +01:00 committed by Copybot
parent 635aae7b1f
commit 029cd4abe7

View file

@ -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'
)