fix returning first element of 1-sized slice instead of the slice
This commit is contained in:
parent
e132a5af42
commit
7e7eb3ac29
|
@ -82,7 +82,7 @@ func parseParameter(data interface{}) (interface{}, error) {
|
|||
}
|
||||
|
||||
// already typed
|
||||
return data, nil
|
||||
return element.Interface(), nil
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue