forked from NYANDEV/forgejo
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
4b87aa367c
commit
a63b9fbc70
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue