Permalink
Browse files

Fix issue where parameters with complex types aren't deserialized

  • Loading branch information...
dabbott committed Nov 25, 2017
1 parent f756ab3 commit 5fe036657bac7d20d3942ac6f2e71942989bdb5e
Showing with 1 addition and 1 deletion.
  1. +1 −1 LonaStudio/Models/CSParameter.swift
@@ -25,7 +25,7 @@ final class CSParameter: CSDataDeserializable, CSDataSerializable, DataNode {
init(_ json: CSData) {
name = json.get(key: "name").stringValue
type = CSType.from(string: json.get(key: "type").stringValue)
type = CSType(json.get(key: "type"))
if let object = json["defaultValue"] {
defaultValue = CSValue(object)

0 comments on commit 5fe0366

Please sign in to comment.