Skip to content

Commit

Permalink
Merge pull request #9 from ttsszzyy/master
Browse files Browse the repository at this point in the history
Update mergehandlers.go
  • Loading branch information
kevwan authored Jan 10, 2023
2 parents 937029f + 0621271 commit 52f1d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mergehandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import (
}{{end}}
l := {{.LogicPackage}}.New{{.LogicType}}(r.Context(), ctx)
{{if .HasResp}}resp, {{end}}err := l.{{.Call}}({{if .HasRequest}}req{{end}})
{{if .HasResp}}resp, {{end}}err := l.{{.Call}}({{if .HasRequest}}&req{{end}})
if err != nil {
httpx.Error(w, err)
} else {
Expand Down

0 comments on commit 52f1d5d

Please sign in to comment.