mirror of
https://github.com/go-gitea/gitea
synced 2025-01-12 10:44:27 +00:00
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
4b87aa367c
commit
a63b9fbc70
@ -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(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user