From cc20148fdec6fd19e327adf9b2d28c6b7d433b5e Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 21 Jan 2025 15:11:49 +0700 Subject: [PATCH] no message --- src/controllers/ProfileController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index c511f19a..7be37ca1 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -7531,13 +7531,12 @@ export class ProfileController extends Controller { .where((qb) => { if (body.rootId) { qb.andWhere("posMaster.orgRootId = :rootId", { rootId: body.rootId }); - qb.andWhere("posMaster.current_nextId IS NOT NULL"); } else { qb.andWhere("posMaster.orgRevisionId = :orgRevisionId", { orgRevisionId: findRevision?.id, }); - qb.andWhere("posMaster.current_holderId IS NOT NULL"); } + qb.andWhere("posMaster.current_holderId IS NOT NULL"); }) .andWhere( new Brackets((qb) => {