Commit e88cc9ee authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[UpdateNodeParamsList] fix serialization

parent c7509c3a
Pipeline #1900 failed with stage
...@@ -20,7 +20,7 @@ instance JSON.ReadForeign UpdateNodeParams where readImpl = JSONG.untaggedSumRep ...@@ -20,7 +20,7 @@ instance JSON.ReadForeign UpdateNodeParams where readImpl = JSONG.untaggedSumRep
instance JSON.WriteForeign UpdateNodeParams where instance JSON.WriteForeign UpdateNodeParams where
writeImpl (UpdateNodeParamsList { methodList }) = writeImpl (UpdateNodeParamsList { methodList }) =
JSON.writeImpl { type: "UpdateNodeParamsList" JSON.writeImpl { type: "UpdateNodeParamsList"
, values: methodList } , methodList }
writeImpl (UpdateNodeParamsGraph { methodGraph }) = writeImpl (UpdateNodeParamsGraph { methodGraph }) =
JSON.writeImpl { type: "UpdateNodeParamsGraph" JSON.writeImpl { type: "UpdateNodeParamsGraph"
, methodGraph } , methodGraph }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment