From e976e518605ffed838cc6367f7fa7d58aaa97537 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Fri, 7 Mar 2025 16:17:01 +0700 Subject: [PATCH] ws test --- src/controllers/OrganizationController.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index 1b4bf1c6..6b684cea 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -3100,6 +3100,8 @@ export class OrganizationController extends Controller { }; const orgRevision = await this.orgRevisionRepository.findOne({ where: { id } }); + console.log('orgRevision:',orgRevision); + if (!orgRevision) { throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล"); }