Fix: use email instead of id for customer id (#22739)
This commit is contained in:
1 parent
751aa62935
commit
8d54d80dee
1 file changed
+1
-1
@@ -17,7 +17,7 @@ export const upsertPlainCustomer = async (user: PlainUser) => {
|
||||
|
||||
return await plain.upsertCustomer({
|
||||
identifier: {
|
||||
externalId: `${user.id}`,
|
||||
emailAddress: email,
|
||||
},
|
||||
onCreate: {
|
||||
fullName,
|
||||
|
||||
Reference in new issue
Block a user