Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop

This commit is contained in:
kittapath 2025-03-14 13:26:51 +07:00
commit c02a45630a
2 changed files with 2 additions and 2 deletions

View file

@ -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([

View file

@ -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