From e1cdd1c2a33618a358397e2f1c7ef11cbc3bdf57 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 2 Mar 2020 22:42:17 +0100 Subject: [PATCH] fix parsing non-string slice values - only string were parsed using wrapped json - now we also keep primitive types --- 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 033cbfe..315d59f 100644 --- a/internal/reqdata/parameter.go +++ b/internal/reqdata/parameter.go @@ -79,7 +79,7 @@ func parseParameter(data interface{}) (interface{}, error) { // ignore non-string if element.Kind() != reflect.String { - result[i] = nil + result[i] = element.Interface() continue }