mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 05:16:02 +00:00
Merge pull request #18456 from overleaf/dp-fix-main-lint
Fix lint by using recordEventForUserInBackground GitOrigin-RevId: 3412c9a997ce0921b25408fc584060e528843b88
This commit is contained in:
parent
635aae7b1f
commit
029cd4abe7
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue