diff options
author | 6543 <6543@obermui.de> | 2020-02-04 06:05:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 00:05:17 -0500 |
commit | b3c72a7c4a935e805b87ff2e1911429628ace7c5 (patch) | |
tree | 1683763de1f978a8e4576dd76841a16b11b0d750 /models/issue.go | |
parent | 3ff95cef606fad166527b092cb063081e3b3b84e (diff) | |
download | gitea-b3c72a7c4a935e805b87ff2e1911429628ace7c5.tar.gz gitea-b3c72a7c4a935e805b87ff2e1911429628ace7c5.zip |
[API] expose RepoOwner on Issue responce (#10126)
* add RepoOwner on issue api responce
* CI.restart()
Diffstat (limited to 'models/issue.go')
-rw-r--r-- | models/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index c0be987ac9..52d22f1509 100644 --- a/models/issue.go +++ b/models/issue.go @@ -398,6 +398,7 @@ func (issue *Issue) apiFormat(e Engine) *api.Issue { apiIssue.Repo = &api.RepositoryMeta{ ID: issue.Repo.ID, Name: issue.Repo.Name, + Owner: issue.Repo.OwnerName, FullName: issue.Repo.FullName(), } |