From 4cb62ea1223505039ed61e99c02d220a9b5b4d5f 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 }