aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-10-31 12:43:38 +0800
committerGitHub <noreply@github.com>2023-10-31 04:43:38 +0000
commit16d15ce087cd4b9ddf91f6acff7eacac24e6aac5 (patch)
treea71425c3ab1c5ee0c3ca6a8b8eaefd1367ecbfc8 /modules/structs
parent9106514e516f1e75ae539f3cd2f3a794c7d2c50a (diff)
downloadgitea-16d15ce087cd4b9ddf91f6acff7eacac24e6aac5.tar.gz
gitea-16d15ce087cd4b9ddf91f6acff7eacac24e6aac5.zip
Fix package webhook (#27839)
Fix #23742 --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Diffstat (limited to 'modules/structs')
-rw-r--r--modules/structs/package.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/package.go b/modules/structs/package.go
index 0059535bea..a9a9429de2 100644
--- a/modules/structs/package.go
+++ b/modules/structs/package.go
@@ -16,6 +16,7 @@ type Package struct {
Type string `json:"type"`
Name string `json:"name"`
Version string `json:"version"`
+ HTMLURL string `json:"html_url"`
// swagger:strfmt date-time
CreatedAt time.Time `json:"created_at"`
}