Skip to content

Commit

Permalink
Workout with multiple repeats
Browse files Browse the repository at this point in the history
fix #10
  • Loading branch information
mystygage committed Jun 6, 2018
1 parent 3ff31f6 commit ed1fe61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com.github.mgifos.workouts/model/Step.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ case class RepeatStep(count: Int, steps: Seq[Step]) extends Step {

override def json(order: Int) = Json.obj(
"stepId" -> JsNull,
"stepOrder" -> 2,
"stepOrder" -> order,
"stepType" -> Json.obj(
"stepTypeId" -> 6,
"stepTypeId" -> typeId,
"stepTypeKey" -> "repeat"),
"numberOfIterations" -> count,
"smartRepeat" -> false,
Expand Down

0 comments on commit ed1fe61

Please sign in to comment.