fix Noti แจ้งเตือนผิด #2417
This commit is contained in:
parent
6a1ca6b867
commit
1d1b2c8f3c
3 changed files with 3 additions and 0 deletions
|
|
@ -321,6 +321,7 @@ export class DevelopmentRequestController extends Controller {
|
||||||
}
|
}
|
||||||
const orgRoot = await this.orgRootRepo.findOne({
|
const orgRoot = await this.orgRootRepo.findOne({
|
||||||
select: {
|
select: {
|
||||||
|
id: true,
|
||||||
isDeputy: true
|
isDeputy: true
|
||||||
},
|
},
|
||||||
where: {
|
where: {
|
||||||
|
|
|
||||||
|
|
@ -335,6 +335,7 @@ export class ProfileEditController extends Controller {
|
||||||
}
|
}
|
||||||
const orgRoot = await this.orgRootRepo.findOne({
|
const orgRoot = await this.orgRootRepo.findOne({
|
||||||
select: {
|
select: {
|
||||||
|
id: true,
|
||||||
isDeputy: true
|
isDeputy: true
|
||||||
},
|
},
|
||||||
where: {
|
where: {
|
||||||
|
|
|
||||||
|
|
@ -336,6 +336,7 @@ export class ProfileEditEmployeeController extends Controller {
|
||||||
}
|
}
|
||||||
const orgRoot = await this.orgRootRepo.findOne({
|
const orgRoot = await this.orgRootRepo.findOne({
|
||||||
select: {
|
select: {
|
||||||
|
id: true,
|
||||||
isDeputy: true
|
isDeputy: true
|
||||||
},
|
},
|
||||||
where: {
|
where: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue