diff --git a/core/repo.go b/core/repo.go index b602d7609..d474c4a0b 100644 --- a/core/repo.go +++ b/core/repo.go @@ -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"`