From bd6fc1576bd676a25e4b6c592521070ef9ae7c2c Mon Sep 17 00:00:00 2001 From: Romain Thouvenin Date: Fri, 29 Mar 2024 14:04:57 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/modules/ad/core/domain/candidate.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ad/core/domain/candidate.entity.ts b/src/modules/ad/core/domain/candidate.entity.ts index 95abf70..b9e99c1 100644 --- a/src/modules/ad/core/domain/candidate.entity.ts +++ b/src/modules/ad/core/domain/candidate.entity.ts @@ -155,7 +155,7 @@ export class CandidateEntity extends AggregateRoot { }); }, ); - return (this.props.steps as Step[])[passengerStartStepIndex].duration; + return this.props.steps![passengerStartStepIndex].duration; }; /**