mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
Removed force_i18n
in API v2 settings serializer
refs #10582 - deprecated - won't serve - won't save
This commit is contained in:
parent
bfccaa8d2e
commit
20ab9651dc
@ -48,5 +48,12 @@ module.exports = {
|
||||
setting = url.forSetting(setting);
|
||||
}
|
||||
});
|
||||
|
||||
// CASE: deprecated, won't accept
|
||||
const index = _.findIndex(frame.data.settings, {key: 'force_i18n'});
|
||||
|
||||
if (index !== -1) {
|
||||
frame.data.settings.splice(index, 1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user