diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go index 75eff488db..d29f188535 100644 --- a/routers/api/v1/repo/commits.go +++ b/routers/api/v1/repo/commits.go @@ -109,7 +109,7 @@ func GetSingleCommit(ctx *context.APIContext) { }, Date: commit.Committer.When.Format(time.RFC3339), }, - Message: commit.Summary(), + Message: commit.Message(), Tree: &api.CommitMeta{ URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(), SHA: commit.ID.String(),