Skip to content

Commit

Permalink
webhook: add last_synchronization_error_date field
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Oct 4, 2022
1 parent 3da05bf commit 89233a0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ type Webhook struct {
SecretToken string `json:"secret_token"`

// (WebhookInfo)
HasCustomCert bool `json:"has_custom_certificate"`
PendingUpdates int `json:"pending_update_count"`
ErrorUnixtime int64 `json:"last_error_date"`
ErrorMessage string `json:"last_error_message"`
HasCustomCert bool `json:"has_custom_certificate"`
PendingUpdates int `json:"pending_update_count"`
ErrorUnixtime int64 `json:"last_error_date"`
ErrorMessage string `json:"last_error_message"`
SyncErrorUnixtime int64 `json:"last_synchronization_error_date"`

TLS *WebhookTLS
Endpoint *WebhookEndpoint
Expand Down

0 comments on commit 89233a0

Please sign in to comment.