mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-03 12:49:57 -05:00
Edit packages/lib/user/service.ts
This commit is contained in:
committed by
GitHub
parent
bcf039030e
commit
2071486674
@@ -173,9 +173,9 @@ export const createUser = async (data: TUserCreateInput): Promise<TUser> => {
|
||||
});
|
||||
|
||||
// send new user customer.io to customer.io
|
||||
createCustomerIoCustomer(user);
|
||||
|
||||
return user;
|
||||
createCustomerIoCustomer(user).catch(error => {
|
||||
console.error("Error sending user to CustomerIO:", error);
|
||||
});
|
||||
};
|
||||
|
||||
// function to delete a user's user including teams
|
||||
|
||||
Reference in New Issue
Block a user