fix
This commit is contained in:
parent
f0e3ad2664
commit
25adeb39eb
1 changed files with 2 additions and 1 deletions
|
|
@ -75,8 +75,9 @@ export class kpiReasonController extends Controller {
|
|||
if (user.trim().toUpperCase() == "USER") {
|
||||
const kpiUserEvaluation = await this.kpiUserPlan.findOne({
|
||||
where: { id: id },
|
||||
relations: ["kpiUserEvaluation", "kpiUserEvaluation.evaluatorId"],
|
||||
relations: ["kpiUserEvaluation"],
|
||||
});
|
||||
|
||||
if (!kpiUserEvaluation) {
|
||||
throw new HttpError(
|
||||
HttpStatusCode.NOT_FOUND,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue