Skip to content

Commit

Permalink
Merge pull request #27 from alunparanggi/fix/adjust-add-options-function
Browse files Browse the repository at this point in the history
fix missing param for origURL in addOptions()
  • Loading branch information
robgordon89 authored Apr 26, 2024
2 parents fee7a00 + da552df commit b8906f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ func addOptions(s string, opt interface{}) (string, error) {
origValues.Add(filterKey, split[1])
}
continue
} else {
for _, fv := range v {
if fv == "" {
continue
}
origValues.Add(k, fv)
}
}
}

Expand Down

0 comments on commit b8906f2

Please sign in to comment.