Skip to content

Commit 31092cc

Browse files
committedSep 21, 2020
removed signature from template
1 parent df5a36e commit 31092cc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎otohttp/templates/client.go.plush

-4
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ func New<%= service.Name %>(client *Client) *<%= service.Name %> {
6161
if err != nil {
6262
return nil, errors.Wrap(err, "<%= service.Name %>.<%= method.Name %>: marshal <%= method.InputObject.TypeName %>")
6363
}
64-
signature, err := generateSignature(requestBodyBytes, s.client.secret)
65-
if err != nil {
66-
return nil, errors.Wrap(err, "<%= service.Name %>.<%= method.Name %>: generate signature <%= method.InputObject.TypeName %>")
67-
}
6864
url := s.client.RemoteHost + "<%= service.Name %>.<%= method.Name %>"
6965
s.client.Debug(fmt.Sprintf("POST %s", url))
7066
s.client.Debug(fmt.Sprintf(">> %s", string(requestBodyBytes)))

0 commit comments

Comments
 (0)
Please sign in to comment.