From 5859a4666663f7dbe851280d402bd09bebb911b6 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Tue, 9 Jul 2024 15:22:20 +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 ef4e1225..c114d30c 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -2346,7 +2346,7 @@ export class ProfileController extends Controller { ) .andWhere( isRetire != undefined && isRetire != null - ? isRetire == true + ? isRetire == false ? `profile.dateLeave IS null` : `profile.dateLeave IS NOT NULL` : "1=1",