From ccbe954bef43596b9404075d67b7db3f174c8947 Mon Sep 17 00:00:00 2001 From: abdou6666 Date: Mon, 24 Mar 2025 12:03:50 +0100 Subject: [PATCH] fix: remove unnecessary async --- api/src/i18n/services/translation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/i18n/services/translation.service.ts b/api/src/i18n/services/translation.service.ts index 3f38367f..c2adddd8 100644 --- a/api/src/i18n/services/translation.service.ts +++ b/api/src/i18n/services/translation.service.ts @@ -60,7 +60,7 @@ export class TranslationService extends BaseService { const defaultSettings = await plugin?.getDefaultSettings(); // plugin - Object.entries(block.message.args).forEach(async ([l, arg]) => { + Object.entries(block.message.args).forEach(([l, arg]) => { const setting = defaultSettings?.find(({ label }) => label === l); if (setting?.translatable) { if (Array.isArray(arg)) {