Skip to content

Commit

Permalink
update signatureAlgorithm param
Browse files Browse the repository at this point in the history
  • Loading branch information
yndu13 authored and peze committed Nov 30, 2021
1 parent 767c2f7 commit 23001eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ func (client *Client) CallApi(params *Params, request *OpenApiRequest, runtime *
return _result, _err
}

if tea.BoolValue(util.IsUnset(client.SignatureVersion)) || tea.BoolValue(util.EqualString(client.SignatureVersion, tea.String("v3"))) {
if tea.BoolValue(util.IsUnset(client.SignatureAlgorithm)) || !tea.BoolValue(util.EqualString(client.SignatureAlgorithm, tea.String("v2"))) {
_result = make(map[string]interface{})
_body, _err := client.DoRequest(params, request, runtime)
if _err != nil {
Expand Down

0 comments on commit 23001eb

Please sign in to comment.