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 ccf6577bc5
commit ec152aec4b
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
} }