update webhook payload

This commit is contained in:
Sinh 2023-10-12 11:04:46 +07:00
parent fc532e5b0c
commit cd317aa9a2
1 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@ type UnregisterWebhookReq struct {
}
type WebhookBody struct {
ID string `json:"Id"`
Attempt int `json:"Attempt"`
Notifications WebhookNotification `json:"Notifications"`
ID string `json:"Id"`
Attempt int `json:"Attempt"`
Notifications []WebhookNotification `json:"Notifications"`
}
type WebhookNotification struct {