summaryrefslogtreecommitdiffstats
path: root/modules/structs
diff options
context:
space:
mode:
authorNabapadma-sarker <nabapadmacse1991@gmail.com>2023-09-25 04:02:47 +0900
committerGitHub <noreply@github.com>2023-09-24 19:02:47 +0000
commit8e23524b18f4075e7db3dc1a7270abc0d9793dcb (patch)
tree803810fe5d44a0b99b89d865b50562f725829bcc /modules/structs
parent63b25e816db6862bad9ad14ab272901b5570f48b (diff)
downloadgitea-8e23524b18f4075e7db3dc1a7270abc0d9793dcb.tar.gz
gitea-8e23524b18f4075e7db3dc1a7270abc0d9793dcb.zip
Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203)
Fixes #27202
Diffstat (limited to 'modules/structs')
-rw-r--r--modules/structs/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/repo.go b/modules/structs/repo.go
index 6a2ba4836b..3974c4db3a 100644
--- a/modules/structs/repo.go
+++ b/modules/structs/repo.go
@@ -63,6 +63,7 @@ type Repository struct {
Language string `json:"language"`
LanguagesURL string `json:"languages_url"`
HTMLURL string `json:"html_url"`
+ URL string `json:"url"`
Link string `json:"link"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`