fix
This commit is contained in:
parent
27ef5cabef
commit
a7c1b2e6a9
1 changed files with 0 additions and 5 deletions
|
|
@ -70,11 +70,6 @@ export class ProfileAssessmentsController extends Controller {
|
|||
@Path() assessmentId: string,
|
||||
@Request() req: RequestWithUser,
|
||||
) {
|
||||
const _record = await this.profileAssessmentsRepository.findOneBy({
|
||||
id: assessmentId,
|
||||
});
|
||||
if (_record)
|
||||
await new permission().PermissionOrgUserGet(req, "SYS_REGISTRY_OFFICER", _record.profileId);
|
||||
const record = await this.profileAssessmentsHistoryRepository.find({
|
||||
where: {
|
||||
profileAssessmentId: assessmentId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue