Skip to content

Commit

Permalink
Merge pull request #1 from aonesuite/master
Browse files Browse the repository at this point in the history
Fix pathQueryier assignment not destructuring
  • Loading branch information
momaek authored Apr 17, 2022
2 parents 22e129c + 66044d9 commit e9d789e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (e *easyReq) bindField(field reflect.Value, fieldType reflect.StructField,

switch loc {
case inTagPath:
pathVal := getValueFromPath(name, e.pathQueryier)
pathVal := getValueFromPath(name, e.pathQueryier...)
values = append(values, pathVal)
case inTagQuery:
values = e.req.URL.Query()[name]
Expand Down

0 comments on commit e9d789e

Please sign in to comment.