Skip to content

Commit 58bcff5

Browse files
authored
duplicated of json field (gogs#47)
* duplicated of json field * update json field name. Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent cad003b commit 58bcff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitea/release.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
// Release represents a repository release
1515
type Release struct {
1616
ID int64 `json:"id"`
17-
TagName string `json:"name"`
17+
TagName string `json:"tag_name"`
1818
Target string `json:"target_commitish"`
1919
Title string `json:"name"`
2020
Note string `json:"body"`

0 commit comments

Comments
 (0)