Fix regression: Gitea commits API again returns commit summaries, not full messages (#12186) (#12187)
Closes #12185 Co-authored-by: Kristian Antonsen <kristian@derfor.dk>
This commit is contained in:
parent
85be939c2a
commit
c3c246cffc
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ func toCommit(ctx *context.APIContext, repo *models.Repository, commit *git.Comm
|
||||||
},
|
},
|
||||||
Date: commit.Committer.When.Format(time.RFC3339),
|
Date: commit.Committer.When.Format(time.RFC3339),
|
||||||
},
|
},
|
||||||
Message: commit.Summary(),
|
Message: commit.Message(),
|
||||||
Tree: &api.CommitMeta{
|
Tree: &api.CommitMeta{
|
||||||
URL: repo.APIURL() + "/git/trees/" + commit.ID.String(),
|
URL: repo.APIURL() + "/git/trees/" + commit.ID.String(),
|
||||||
SHA: commit.ID.String(),
|
SHA: commit.ID.String(),
|
||||||
|
|
Reference in a new issue