test and fix internal/reqdata #8

Manually merged
xdrm-brackets merged 21 commits from test/internal/reqdata into 0.2.0 2020-03-02 21:52:08 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit e1cdd1c2a3 - Show all commits

View File

@ -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
}