fix typo in debug log for setWebhook

pull/24/head
Syfaro 10 years ago
parent ca40caaa47
commit 9efd300516
  1. 2
      methods.go

@ -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