Change summary to full message (#6591) (#6592)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2019-04-12 12:47:29 -05:00 committed by Lauris BH
parent 4b87aa367c
commit a63b9fbc70

View file

@ -106,7 +106,7 @@ func GetSingleCommit(ctx *context.APIContext) {
Email: commit.Committer.Email, Email: commit.Committer.Email,
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: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(), URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(),
SHA: commit.ID.String(), SHA: commit.ID.String(),