Skip to content

Commit

Permalink
fix typo in code generate template
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannm committed Feb 17, 2023
1 parent 9049a4b commit dabd438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/clubpay/ronykit/kit v0.10.9
github.com/clubpay/ronykit/std/gateways/fasthttp v0.10.8
github.com/clubpay/ronykit/std/gateways/fasthttp v0.10.9
github.com/go-openapi/spec v0.20.7
github.com/rbretecher/go-postman-collection v0.9.0
go.opentelemetry.io/contrib/propagators/b3 v1.11.1
Expand Down
1 change: 0 additions & 1 deletion kit/internal/tpl/go/stub.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ func (s {{$serviceName}}Stub) {{$methodName}}(
).
{{- end }}
SetOKHandler(
200,
func(ctx context.Context, r stub.RESTResponse) *stub.Error {
return stub.WrapError(kit.UnmarshalMessage(r.GetBody(), res))
},
Expand Down

0 comments on commit dabd438

Please sign in to comment.