hanzoai/gochimp3

Please fix WebHook struct about webhookID

xuxinx opened this issue · 1 comments

There is no ID field in WebHook struct .

type WebHook struct {
	WebHookRequest
	ListID string `json:"list_id"`
	withLinks
}

However, it need webHookID as parameter when delete webhook .

func (list ListResponse) DeleteWebHook(id string) (bool, error)

Should be fixed now.