From 38c3c3c5603503e022b34c8badef84d57e1d5432 Mon Sep 17 00:00:00 2001 From: Bright Date: Fri, 14 Mar 2025 10:26:55 +0700 Subject: [PATCH 1/2] comment --- src/controllers/LoginController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/LoginController.ts b/src/controllers/LoginController.ts index 3747c081..95a5f438 100644 --- a/src/controllers/LoginController.ts +++ b/src/controllers/LoginController.ts @@ -73,7 +73,7 @@ export class LoginController extends Controller { // requested_token_type: "urn:ietf:params:oauth:token-type:refresh_token", username: body.username, password: body.password, - scope: "offline_access", + // scope: "offline_access", }; let _data: any = null; await Promise.all([ From 2c197f626d74e4bdfda65a526037226cf85f840e Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 14 Mar 2025 11:20:39 +0700 Subject: [PATCH 2/2] fix struct-chart --- src/controllers/OrganizationController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index 6b4ed7bc..d9c896df 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -5820,7 +5820,7 @@ export class OrganizationController extends Controller { type: 2, // heads: totalPositionCount: await this.posMasterRepository.count({ - where: { orgRevisionId: data.id }, + where: { orgChild1Id: data.id }, }), totalPositionVacant: data.orgRevision.orgRevisionIsDraft == true