Skip to content

Commit

Permalink
fix(gen): pass request options
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Feb 10, 2025
1 parent f9825a1 commit 49056fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gen/_template/client.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func (c *{{ if $op.WebhookInfo }}Webhook{{ end }}Client) {{ $op.Name }}(ctx cont
{{- if $op.WebhookInfo }},targetURL{{ end -}}
{{- if $op.Request }},request{{ end -}}
{{- if $op.Params }},params{{ end -}}
{{- if $cfg.RequestOptionsEnabled }},options...{{ end -}}
)
return {{ if $op.Responses.DoPass }}res,{{ end }} err
}
Expand Down

0 comments on commit 49056fe

Please sign in to comment.