0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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