Mark WebhookInfo.MaxConnections as optional (cherry picked from commit 64517d16e7c54529952c535c22764e8cbbfd939c)
Jiayu Yi yijiayu@gmail.com
Tue, 21 Jul 2020 16:33:33 +0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
types.go
→
types.go
@@ -689,7 +689,7 @@ HasCustomCertificate bool `json:"has_custom_certificate"`
PendingUpdateCount int `json:"pending_update_count"` LastErrorDate int `json:"last_error_date"` // optional LastErrorMessage string `json:"last_error_message"` // optional - MaxConnections int `json:"max_connections"` + MaxConnections int `json:"max_connections"` // optional } // IsSet returns true if a webhook is currently set.