Skip to content

Commit d02f4c6

Browse files
committed
remove unnecessary function call
1 parent 8b33eaf commit d02f4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/Practice.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ object Practice extends LilaController {
5252
case (baseData, studyJson) =>
5353
val analysis = baseData ++ Json.obj(
5454
"treeParts" -> partitionTreeJsonWriter.writes {
55-
lila.study.TreeBuilder(chapter.root.withoutChildren, chapter.setup.variant)
55+
lila.study.TreeBuilder(chapter.root, chapter.setup.variant)
5656
},
5757
"practiceGoal" -> lila.practice.PracticeGoal(chapter))
5858
(analysis, studyJson)

0 commit comments

Comments
 (0)