Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix the rpc headers
Browse files Browse the repository at this point in the history
  • Loading branch information
普冬 authored and peze committed Dec 16, 2021
1 parent 399b871 commit ab7b463
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 @@ -350,7 +350,7 @@ func (client *Client) DoRequest(action *string, protocol *string, method *string
if !tea.BoolValue(util.IsUnset(client.SecureTransport)) {
request_.Query["SecureTransport"] = client.SecureTransport
}
headers, _err := client.GetRpcHeaders()
headers, _err := client.GetHeaders()
if tea.BoolValue(util.IsUnset(headers)) {
// endpoint is setted in product client
request_.Headers = map[string]*string{
Expand Down

0 comments on commit ab7b463

Please sign in to comment.