Skip to content

Commit a9844ac

Browse files
fix issue with predecessors
1 parent 011df2d commit a9844ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ async function populatePhases (phases, startDate, timelineTemplateId) {
761761
if (!prePhase) {
762762
throw new errors.BadRequestError(`Predecessor ${templatePhase.predecessor} not found from given phases.`)
763763
}
764-
phase.predecessor = prePhase.id
764+
phase.predecessor = prePhase.phaseId
765765
}
766766
}
767767
}

0 commit comments

Comments
 (0)