Assign Survey
This commit is contained in:
parent
51a6453f39
commit
114a27c5e6
2 changed files with 82 additions and 39 deletions
|
|
@ -29,7 +29,7 @@ export class AssignPermissionsController extends Controller {
|
|||
console.error("Error calling API:", error);
|
||||
});
|
||||
|
||||
const role = director.find((e: any) => e.role === personalId)?.role;
|
||||
const role = director.find((e: any) => e.personal_id === personalId)?.role;
|
||||
|
||||
const reportPersonId = await this.assignRepository.findOneBy({
|
||||
reportPersonId: personalId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue