modify info

This commit is contained in:
sulenn 2020-05-22 15:37:24 +08:00
parent 4e9b15656a
commit 193ef31dda
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ func GetContentsOrList(repo *models.Repository, treePath, ref string) (interface
fileContentResponse.LatestCommit = api.ContentsResponseCommit{
Message: entryCommit.CommitMessage,
LatestCommitSha: entryCommit.ID.String(),
Time: entryCommit.Author.When.Unix(),
Created: entryCommit.Author.When.Unix(),
}
break
}