mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Fixed detection of the stripe_customer_id field in Members Import (#17375)
no issue
This commit is contained in:
parent
fad31e0bca
commit
f746704ba1
@ -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…
Reference in New Issue
Block a user