From d222161a5bcce5c0f2848d9714ab509b4ba957ff Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sun, 30 Jan 2022 12:27:36 +0100 Subject: Seems to be working. --- src/Tonkadur/Json.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Tonkadur/Json.elm') diff --git a/src/Tonkadur/Json.elm b/src/Tonkadur/Json.elm index d7ae3b3..fbdbcfe 100644 --- a/src/Tonkadur/Json.elm +++ b/src/Tonkadur/Json.elm @@ -53,7 +53,7 @@ specific_computation_decoder name = (\from to value -> (Tonkadur.Types.Cast from to value)) (Json.Decode.field "from" (Json.Decode.string)) (Json.Decode.field "to" (Json.Decode.string)) - (Json.Decode.field "content" (computation_decoder)) + (Json.Decode.field "value" (computation_decoder)) ) "constant" -> @@ -357,7 +357,7 @@ sequences_decoder = (Json.Decode.map2 (\name line -> (name, line)) (Json.Decode.field "name" (Json.Decode.string)) - (Json.Decode.field "value" (Json.Decode.int)) + (Json.Decode.field "line" (Json.Decode.int)) ) ) ) -- cgit v1.2.3-70-g09d2