0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Fixed typo in private setting import

no refs

Last commit introduced a small typo in how private setting is ignored during import
This commit is contained in:
Rish 2020-10-15 15:55:24 +05:30
parent 3e0948d04e
commit a5a7515fe8

View file

@ -110,7 +110,7 @@ class SettingsImporter extends BaseImporter {
const oldIsPrivate = _.find(this.existingData, {key: 'is_private'});
this.dataToImport = _.filter(this.dataToImport, (data) => {
return !_.includes([['is_private']], data.key);
return data.key !== 'is_private';
});
this.dataToImport = _.filter(this.dataToImport, (data) => {