Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 2d00f9f

Browse files
zeripathlafriks
authored andcommitted
Add deploy key changes (#125)
1 parent 86b999e commit 2d00f9f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

gitea/repo_key.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ import (
1313

1414
// DeployKey a deploy key
1515
type DeployKey struct {
16-
ID int64 `json:"id"`
17-
KeyID int64 `json:"key_id"`
18-
Key string `json:"key"`
19-
URL string `json:"url"`
20-
Title string `json:"title"`
16+
ID int64 `json:"id"`
17+
KeyID int64 `json:"key_id"`
18+
Key string `json:"key"`
19+
URL string `json:"url"`
20+
Title string `json:"title"`
21+
Fingerprint string `json:"fingerprint"`
2122
// swagger:strfmt date-time
22-
Created time.Time `json:"created_at"`
23-
ReadOnly bool `json:"read_only"`
23+
Created time.Time `json:"created_at"`
24+
ReadOnly bool `json:"read_only"`
25+
Repository *Repository `json:"repository,omitempty"`
2426
}
2527

2628
// ListDeployKeys list all the deploy keys of one repository

0 commit comments

Comments
 (0)