1
0
Fork 0
mirror of synced 2024-06-01 18:20:18 +12:00

fix intercom createdAt

This commit is contained in:
Martin McKeaveney 2021-10-07 12:03:08 +01:00
parent ddcced8c81
commit b9a47f096d

View file

@ -56,7 +56,7 @@ export function createAuthStore() {
analytics.identify(user._id, user)
analytics.showChat({
email: user.email,
created_at: user.createdAt || Date.now(),
created_at: (user.createdAt || Date.now()) / 1000,
name: user.name,
user_id: user._id,
tenant: user.tenantId,