1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-18 00:29:04 +09:00
This commit is contained in:
NoriDev 2023-10-03 23:13:21 +09:00
commit e264dd5e2c

View File

@ -11,7 +11,7 @@ export class multipleTranslationServices1660183643857 {
await queryRunner.query('SELECT "deeplAuthKey" FROM "meta" where "deeplAuthKey" is not null') await queryRunner.query('SELECT "deeplAuthKey" FROM "meta" where "deeplAuthKey" is not null')
.then(deeplAuthKey => { .then(deeplAuthKey => {
if (deeplAuthKey.length > 0) { if (deeplAuthKey.length > 0) {
return queryRunner.query('UPDATE "meta" SET "translatorType" = "DeepL"'); return queryRunner.query(`UPDATE "meta" SET "translatorType" = 'DeepL'`);
} }
}) })
} }