master #12

Merged
sinhluu merged 4 commits from master into develop 2023-10-23 07:41:48 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8a0e7c2cb7 - Show all commits

View File

@ -201,7 +201,7 @@ func (c *Client) UnregisterWebhook(req UnregisterWebhookReq) (*UnregisterWebhook
return nil, fmt.Errorf("kiotviet.Client.UnregisterWebhook - requestHttpViaNats bad request %s", res.Body)
}
var data UnregisterWebhookRes
if err = r.ParseResponseData(&data); err != nil {
if err = r.ParseResponseData(&data.Success); err != nil {
return nil, fmt.Errorf("kiotviet.Client.UnregisterWebhook - requestHttpViaNats parse response %v, %s", err, res.Body)
}
return &data, nil