From 119bb83e11d22fc87f68c972194a50480a9b391a Mon Sep 17 00:00:00 2001 From: Kittapath Date: Wed, 6 Mar 2024 19:07:06 +0700 Subject: [PATCH] no message --- src/controllers/ProfileController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 5f608dce..ca848909 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -931,7 +931,7 @@ export class ProfileController extends Controller { .leftJoinAndSelect("current_holder.posType", "posType") .where({ orgRevisionId: findRevision?.id, - rootId: body.rootId == null ? "1=1" : body.rootId, + orgRootId: body.rootId == null ? "1=1" : body.rootId, current_holderId: Not(IsNull()), }) .andWhere(