Skip to content

Commit

Permalink
updated router/parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gopherus committed Jul 5, 2023
1 parent 5fbf1da commit f53e7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (p *RequestParams) extractBodyByPath(param *view.Parameter, err error) (int

value, ok := p.bodyPathParam[param.In.Name]
if ok {
return nil, nil
return value, nil
}

aQuery, ok := p.route.bodyParamQuery[param.In.Name]
Expand Down

0 comments on commit f53e7e0

Please sign in to comment.