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

Commit 24adbb0

Browse files
vtemianlunny
authored andcommitted
Add fingerprint to ssh key endpoints. (#82)
1 parent 4319a1e commit 24adbb0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

gitea/user_key.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ import (
1313

1414
// PublicKey publickey is a user key to push code to repository
1515
type PublicKey struct {
16-
ID int64 `json:"id"`
17-
Key string `json:"key"`
18-
URL string `json:"url,omitempty"`
19-
Title string `json:"title,omitempty"`
16+
ID int64 `json:"id"`
17+
Key string `json:"key"`
18+
URL string `json:"url,omitempty"`
19+
Title string `json:"title,omitempty"`
20+
Fingerprint string `json:"fingerprint,omitempty"`
2021
// swagger:strfmt date-time
2122
Created time.Time `json:"created_at,omitempty"`
2223
}

0 commit comments

Comments
 (0)