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,
|
@Path() assessmentId: string,
|
||||||
@Request() req: RequestWithUser,
|
@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({
|
const record = await this.profileAssessmentsHistoryRepository.find({
|
||||||
where: {
|
where: {
|
||||||
profileAssessmentId: assessmentId,
|
profileAssessmentId: assessmentId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue