Skip to content

Commit 4757f0c

Browse files
fix typo
1 parent 5465abb commit 4757f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ async function update (currentUser, challengeId, data, isFull) {
15071507
}
15081508
}
15091509
} else {
1510-
for (let i = 0; i < challenge.discussions.length; i += 1) {
1510+
for (let i = 0; i < data.discussions.length; i += 1) {
15111511
data.discussions[i].id = uuid()
15121512
data.discussions[i].name = data.discussions[i].name.substring(0, config.FORUM_TITLE_LENGTH_LIMIT)
15131513
}

0 commit comments

Comments
 (0)