Fix: use email instead of id for customer id (#22739)

This commit is contained in:
Amit Sharma authored and GitHub committed 2025-07-25 14:59:56 +02:00
1 parent 751aa62935
commit 8d54d80dee
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ export const upsertPlainCustomer = async (user: PlainUser) => {
return await plain.upsertCustomer({
identifier: {
externalId: `${user.id}`,
emailAddress: email,
},
onCreate: {
fullName,