From 58bcff5dccb21bdfd307f1a736fe2b3ab20713cb Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 16 Apr 2017 07:07:55 +0800 Subject: [PATCH] duplicated of json field (#47) * duplicated of json field * update json field name. Signed-off-by: Bo-Yi Wu --- gitea/release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/release.go b/gitea/release.go index de5ccba..cc84146 100644 --- a/gitea/release.go +++ b/gitea/release.go @@ -14,7 +14,7 @@ import ( // Release represents a repository release type Release struct { ID int64 `json:"id"` - TagName string `json:"name"` + TagName string `json:"tag_name"` Target string `json:"target_commitish"` Title string `json:"name"` Note string `json:"body"`