fix typo in debug log for setWebhook
parent
ca40caaa47
commit
9efd300516
|
@ -995,7 +995,7 @@ func (bot *BotAPI) SetWebhook(config WebhookConfig) (APIResponse, error) {
|
||||||
json.Unmarshal(resp.Result, &apiResp)
|
json.Unmarshal(resp.Result, &apiResp)
|
||||||
|
|
||||||
if bot.Debug {
|
if bot.Debug {
|
||||||
log.Printf("sendVideo resp: %+v\n", apiResp)
|
log.Printf("setWebhook resp: %+v\n", apiResp)
|
||||||
}
|
}
|
||||||
|
|
||||||
return apiResp, nil
|
return apiResp, nil
|
||||||
|
|
Loading…
Reference in New Issue