File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ func GetSingleCommit(ctx *context.APIContext) {
92
92
URL : setting .AppURL + ctx .Link [1 :],
93
93
SHA : commit .ID .String (),
94
94
},
95
- HTMLURL : ctx .Repo .Repository .HTMLURL () + "/commits /" + commit .ID .String (),
95
+ HTMLURL : ctx .Repo .Repository .HTMLURL () + "/commit /" + commit .ID .String (),
96
96
RepoCommit : & api.RepoCommit {
97
97
URL : setting .AppURL + ctx .Link [1 :],
98
98
Author : & api.CommitUser {
@@ -111,7 +111,7 @@ func GetSingleCommit(ctx *context.APIContext) {
111
111
},
112
112
Message : commit .Message (),
113
113
Tree : & api.CommitMeta {
114
- URL : ctx .Repo .Repository .APIURL () + "/trees/" + commit .ID .String (),
114
+ URL : ctx .Repo .Repository .APIURL () + "/git/ trees/" + commit .ID .String (),
115
115
SHA : commit .ID .String (),
116
116
},
117
117
},
You can’t perform that action at this time.
0 commit comments