Update curl call to show response
Update channel status call to pass the correct name of the parameter
This commit is contained in:
parent
2c9c999c71
commit
1fb1077a94
2 changed files with 2 additions and 2 deletions
sdk
|
@ -151,7 +151,7 @@ func (a *APIConfig) SetChannelStatus(channelID string, status string, failureRea
|
|||
"failure_reason": {failureReason},
|
||||
}
|
||||
if transferState != nil {
|
||||
params.Add("transferred", strconv.Itoa(*transferState))
|
||||
params.Add("transfer_state", strconv.Itoa(*transferState))
|
||||
}
|
||||
res, _ := http.PostForm(endpoint, params)
|
||||
defer res.Body.Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue