Skip to content

Commit

Permalink
Merge pull request #15 from mystygage/multiple-repeats
Browse files Browse the repository at this point in the history
Workout with multiple repeats
  • Loading branch information
mgifos authored Jun 11, 2018
2 parents 3ff31f6 + 667d7fe commit 86ce6f7
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 86ce6f7

Please sign in to comment.