fix returning first element of 1-sized slice instead of the slice

This commit is contained in:
Adrien Marquès 2020-03-02 22:20:28 +01:00
parent e132a5af42
commit 7e7eb3ac29
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func parseParameter(data interface{}) (interface{}, error) {
} }
// already typed // already typed
return data, nil return element.Interface(), nil
} }