Skip to content

Commit 67aa420

Browse files
Fix getPhasesAndPopulate to use phaseId instead of id
1 parent 57b7d75 commit 67aa420

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
@@ -515,7 +515,7 @@ async function populateSettings (data) {
515515
*/
516516
async function getPhasesAndPopulate (data) {
517517
_.each(data.phases, async p => {
518-
const phase = await phaseService.getPhase(p.id)
518+
const phase = await phaseService.getPhase(p.phaseId)
519519
p.name = phase.name
520520
if (phase.description) {
521521
p.description = phase.description

0 commit comments

Comments
 (0)