fix typo in debug log for setWebhook

This commit is contained in:
Syfaro 2015-09-07 12:32:16 -05:00
parent ca40caaa47
commit 9efd300516

View file

@ -995,7 +995,7 @@ func (bot *BotAPI) SetWebhook(config WebhookConfig) (APIResponse, error) {
json.Unmarshal(resp.Result, &apiResp)
if bot.Debug {
log.Printf("sendVideo resp: %+v\n", apiResp)
log.Printf("setWebhook resp: %+v\n", apiResp)
}
return apiResp, nil