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:
parent
fad31e0bca
commit
f746704ba1
1 changed files with 2 additions and 3 deletions
|
@ -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'
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue