diff options
author | Peter Hoffmann <Hoffmann.P@gmx.net> | 2018-10-28 23:03:02 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-10-28 18:03:02 -0400 |
commit | fb14458010e1c18dc08549bbe83cab56fc690bc7 (patch) | |
tree | ebbb34e05fb6f4e1ccd1f827813cc18c5e2a63b6 /vendor/code.gitea.io/sdk/gitea/repo_key.go | |
parent | 48badd59e9401df50f36dbd19a4a8167265d618d (diff) | |
download | gitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.tar.gz gitea-fb14458010e1c18dc08549bbe83cab56fc690bc7.zip |
fix: Add secret to all webhook's payload where it has been missing (#5199)
* fix: Add secret to all webhook's payload where it has been missing
affects webhooks for:
* Delete
* Fork
* IssueComment
* Release
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/repo_key.go')
-rw-r--r-- | vendor/code.gitea.io/sdk/gitea/repo_key.go | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/repo_key.go b/vendor/code.gitea.io/sdk/gitea/repo_key.go index ec53311bda..a1ae4584e0 100644 --- a/vendor/code.gitea.io/sdk/gitea/repo_key.go +++ b/vendor/code.gitea.io/sdk/gitea/repo_key.go @@ -13,13 +13,16 @@ import ( // DeployKey a deploy key type DeployKey struct { - ID int64 `json:"id"` - Key string `json:"key"` - URL string `json:"url"` - Title string `json:"title"` + ID int64 `json:"id"` + KeyID int64 `json:"key_id"` + Key string `json:"key"` + URL string `json:"url"` + Title string `json:"title"` + Fingerprint string `json:"fingerprint"` // swagger:strfmt date-time - Created time.Time `json:"created_at"` - ReadOnly bool `json:"read_only"` + Created time.Time `json:"created_at"` + ReadOnly bool `json:"read_only"` + Repository *Repository `json:"repository,omitempty"` } // ListDeployKeys list all the deploy keys of one repository |