mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Merge pull request #29018 from overleaf/rh-cio-timestamp-fix
Use unix timestamps in customer.io GitOrigin-RevId: 5301095172679712f2bf4e12632b67bd90a33008
This commit is contained in:
@@ -535,8 +535,12 @@ async function projectListPage(req, res, next) {
|
||||
customerIoEnabled,
|
||||
aiBlocked,
|
||||
hasAiAssist,
|
||||
lastActive: user.lastActive,
|
||||
signUpDate: user.signUpDate,
|
||||
lastActive: user.lastActive
|
||||
? Math.floor(user.lastActive.getTime() / 1000)
|
||||
: null,
|
||||
signUpDate: user.signUpDate
|
||||
? Math.floor(user.signUpDate.getTime() / 1000)
|
||||
: null,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user