modify info
This commit is contained in:
parent
4e9b15656a
commit
193ef31dda
|
@ -112,7 +112,7 @@ func GetContentsOrList(repo *models.Repository, treePath, ref string) (interface
|
||||||
fileContentResponse.LatestCommit = api.ContentsResponseCommit{
|
fileContentResponse.LatestCommit = api.ContentsResponseCommit{
|
||||||
Message: entryCommit.CommitMessage,
|
Message: entryCommit.CommitMessage,
|
||||||
LatestCommitSha: entryCommit.ID.String(),
|
LatestCommitSha: entryCommit.ID.String(),
|
||||||
Time: entryCommit.Author.When.Unix(),
|
Created: entryCommit.Author.When.Unix(),
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue