summaryrefslogtreecommitdiff
path: root/pkg/bindings/internal/util/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/internal/util/util.go')
-rw-r--r--pkg/bindings/internal/util/util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/internal/util/util.go b/pkg/bindings/internal/util/util.go
index c1961308e..ef93d6e25 100644
--- a/pkg/bindings/internal/util/util.go
+++ b/pkg/bindings/internal/util/util.go
@@ -85,10 +85,10 @@ func ToParams(o interface{}) (url.Values, error) {
}
}
case f.Kind() == reflect.Map:
- lowerCaseKeys := make(map[string][]string)
+ lowerCaseKeys := make(map[string]interface{})
iter := f.MapRange()
for iter.Next() {
- lowerCaseKeys[iter.Key().Interface().(string)] = iter.Value().Interface().([]string)
+ lowerCaseKeys[iter.Key().Interface().(string)] = iter.Value().Interface()
}
s, err := json.MarshalToString(lowerCaseKeys)
if err != nil {