feat(blogo,gitea): add last_commit_sha to contentResponse struct

This commit is contained in:
Guz
2025-01-08 11:10:38 -03:00
parent c097100f58
commit d8117891fa

View File

@@ -195,9 +195,10 @@ func statusCodeToErr(resp *http.Response) (body []byte, err error) {
}
type contentsResponse struct {
Name string `json:"name"`
Path string `json:"path"`
SHA string `json:"sha"`
Name string `json:"name"`
Path string `json:"path"`
SHA string `json:"sha"`
LastCommitSha string `json:"last_commit_sha"`
// NOTE: can be "file", "dir", "symlink" or "submodule"
Type string `json:"type"`