From 928e13365577a0b2e054eb164949eba20ef83fae Mon Sep 17 00:00:00 2001 From: darkskygit Date: Wed, 5 Jun 2024 08:01:12 +0000 Subject: [PATCH] fix: customer create at (#7132) --- packages/backend/server/src/core/user/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/server/src/core/user/service.ts b/packages/backend/server/src/core/user/service.ts index e111767204..e4c232723f 100644 --- a/packages/backend/server/src/core/user/service.ts +++ b/packages/backend/server/src/core/user/service.ts @@ -181,7 +181,7 @@ export class UserService { const payload = { name: user.name, email: user.email, - created_at: Number(user.createdAt), + created_at: Number(user.createdAt) / 1000, }; try { await fetch(`https://track.customer.io/api/v1/customers/${user.id}`, {