-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
- Gitea version (or commit ref):
Lines 127 to 135 in 8aeeed0
func (c *Comment) APIFormat() *api.Comment { return &api.Comment{ ID: c.ID, Poster: c.Poster.APIFormat(), Body: c.Content, Created: c.Created, Updated: c.Updated, } }
Description
As of 8aeeed0, the Issue model doesn't expose HTMLURL
, IssueURL
, and PRURL
in the ApiFormat
function:
Lines 127 to 135 in 8aeeed0
func (c *Comment) APIFormat() *api.Comment { | |
return &api.Comment{ | |
ID: c.ID, | |
Poster: c.Poster.APIFormat(), | |
Body: c.Content, | |
Created: c.Created, | |
Updated: c.Updated, | |
} | |
} |
gogs/gogs#3624 has been submitted on Gogs but should be submitted on Gitea now.
Thanks in advance, it will help us having a more useful Gitea importer for GitLab (https://gitlab.com/gitlab-org/gitlab-ce/issues/22348).
/cc @bkcsoft