Fixed detection of the stripe_customer_id field in Members Import (#17375)

no issue
This commit is contained in:
Sag 2023-07-14 17:43:38 +02:00 committed by GitHub
parent fad31e0bca
commit f746704ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,9 +68,7 @@ export default class MemberImportValidatorService extends Service {
}
/**
* Detects supported data types and auto-detects following two needed for validation:
* 1. email
* 2. stripe_customer_id
* Detects supported data types and auto-detects following needed for validation: email
*
* Returned "mapping" object contains mappings that could be accepted by the API
* to map validated types.
@ -83,6 +81,7 @@ export default class MemberImportValidatorService extends Service {
'note',
'subscribed_to_emails',
'complimentary_plan',
'stripe_customer_id',
'labels',
'created_at'
];