include repository concurrency limit in json payload

This commit is contained in:
Brad Rydzewski 2020-12-12 00:43:43 -05:00
parent 778d0a0aff
commit 6af2647e43

View file

@ -54,7 +54,7 @@ type (
CancelPulls bool `json:"auto_cancel_pull_requests"`
CancelPush bool `json:"auto_cancel_pushes"`
Timeout int64 `json:"timeout"`
Throttle int64 `json:"-"`
Throttle int64 `json:"throttle,omitempty"`
Counter int64 `json:"counter"`
Synced int64 `json:"synced"`
Created int64 `json:"created"`