From dfa6cba137a4b5bfccec34d81d1ac5b990f294f7 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 2 Mar 2020 22:45:58 +0100 Subject: [PATCH] fix parsing primitive types instead of erroring unknown type --- internal/reqdata/parameter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/reqdata/parameter.go b/internal/reqdata/parameter.go index 315d59f..2c80455 100644 --- a/internal/reqdata/parameter.go +++ b/internal/reqdata/parameter.go @@ -123,6 +123,6 @@ func parseParameter(data interface{}) (interface{}, error) { } /* (3) NIL if unknown type */ - return dvalue, ErrUnknownType + return dvalue.Interface(), nil }