Merge pull request #346 from Kurets/master
Fixes error parameter name for AnswerPreCheckoutQuerybot-api-6.1
commit
2476225ecc
2
bot.go
2
bot.go
|
@ -886,7 +886,7 @@ func (bot *BotAPI) AnswerPreCheckoutQuery(config PreCheckoutConfig) (APIResponse
|
|||
v.Add("pre_checkout_query_id", config.PreCheckoutQueryID)
|
||||
v.Add("ok", strconv.FormatBool(config.OK))
|
||||
if config.OK != true {
|
||||
v.Add("error", config.ErrorMessage)
|
||||
v.Add("error_message", config.ErrorMessage)
|
||||
}
|
||||
|
||||
bot.debugLog("answerPreCheckoutQuery", v, nil)
|
||||
|
|
Loading…
Reference in New Issue