fix: setup locale crash

This commit is contained in:
Nicolas Giard 2019-01-20 02:26:21 -05:00
parent cad45f57fd
commit 3c8dcdcc37

View File

@ -202,7 +202,7 @@ module.exports = () => {
WIKI.logger.info('Installing default locale...') WIKI.logger.info('Installing default locale...')
await WIKI.models.locales.query().insert({ await WIKI.models.locales.query().insert({
code: 'en', code: 'en',
strings: require('./locales/default.json'), strings: JSON.stringify({}),
isRTL: false, isRTL: false,
name: 'English', name: 'English',
nativeName: 'English' nativeName: 'English'