feat: add config migration

This commit is contained in:
Sérgio Salgado 2021-05-06 19:09:36 +01:00 committed by Josh Harvey
parent cf6e5354ec
commit da0d25c040
4 changed files with 26 additions and 5 deletions

View file

@ -129,7 +129,8 @@ function migrateLocales (config) {
country: 'country',
fiatCurrency: 'fiatCurrency',
machineLanguages: 'languages',
cryptoCurrencies: 'cryptoCurrencies'
cryptoCurrencies: 'cryptoCurrencies',
timezone: 'timezone'
}
const { global, scoped } = getConfigFields(_.keys(codes), config)