From ba9fea840349f52ce299062f56390bff9ccbd90a Mon Sep 17 00:00:00 2001 From: harid Date: Fri, 3 Oct 2025 16:57:07 +0700 Subject: [PATCH] no message --- src/controllers/CommandController.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 049518bb..44a24623 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -1516,11 +1516,7 @@ export class CommandController extends Controller { } else { signDate = Extension.ToThaiShortDate_noPrefix(_Date); } - response_.data.result.profiles = response_.data.result.profiles.filter( - (x: any) => - x.profileId == "7247d218-eca0-472b-b224-e402260f2103" || - x.profileId == "fe52faf3-ad18-480b-968c-d9a8c1fbca32", - ); + await Promise.all( response_.data.result.profiles.map(async (x: any) => { const _profile = await this.profileRepository.findOneBy({ id: x.profileId });