Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
c02a45630a
2 changed files with 2 additions and 2 deletions
|
|
@ -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([
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue