summaryrefslogtreecommitdiffstats
path: root/modules/structs/issue.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-02-04 06:05:17 +0100
committerGitHub <noreply@github.com>2020-02-04 00:05:17 -0500
commitb3c72a7c4a935e805b87ff2e1911429628ace7c5 (patch)
tree1683763de1f978a8e4576dd76841a16b11b0d750 /modules/structs/issue.go
parent3ff95cef606fad166527b092cb063081e3b3b84e (diff)
downloadgitea-b3c72a7c4a935e805b87ff2e1911429628ace7c5.tar.gz
gitea-b3c72a7c4a935e805b87ff2e1911429628ace7c5.zip
[API] expose RepoOwner on Issue responce (#10126)
* add RepoOwner on issue api responce * CI.restart()
Diffstat (limited to 'modules/structs/issue.go')
-rw-r--r--modules/structs/issue.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/issue.go b/modules/structs/issue.go
index 49a7dc6d6f..eed5bb500b 100644
--- a/modules/structs/issue.go
+++ b/modules/structs/issue.go
@@ -30,6 +30,7 @@ type PullRequestMeta struct {
type RepositoryMeta struct {
ID int64 `json:"id"`
Name string `json:"name"`
+ Owner string `json:"owner"`
FullName string `json:"full_name"`
}