fix: code linting
This commit is contained in:
1 parent
7634bd266d
commit
69e644e18f
13 files changed
+151
-139
No files matched your search
@@ -45,8 +45,8 @@ module.exports = {
|
||||
_.set(lcObj, key.replace(':', '.'), value)
|
||||
})
|
||||
|
||||
const localeExists = await WIKI.models.locales.query().select('code').where('code', locale.code).first()
|
||||
if (localeExists) {
|
||||
const localeDbExists = await WIKI.models.locales.query().select('code').where('code', locale.code).first()
|
||||
if (localeDbExists) {
|
||||
await WIKI.models.locales.query().update({
|
||||
code: locale.code,
|
||||
strings: lcObj,
|
||||
|
||||
Reference in new issue
Block a user