fix parsing primitive types instead of erroring unknown type

This commit is contained in:
Adrien Marquès 2020-03-02 22:45:58 +01:00
parent feec6e96d0
commit dfa6cba137
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 1 additions and 1 deletions

View File

@ -123,6 +123,6 @@ func parseParameter(data interface{}) (interface{}, error) {
} }
/* (3) NIL if unknown type */ /* (3) NIL if unknown type */
return dvalue, ErrUnknownType return dvalue.Interface(), nil
} }