File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import (
11
11
"code.gitea.io/gitea/models"
12
12
"code.gitea.io/gitea/modules/context"
13
13
"code.gitea.io/gitea/modules/repofiles"
14
- "code.gitea.io/gitea/modules/structs"
15
14
api "code.gitea.io/gitea/modules/structs"
16
15
)
17
16
@@ -221,13 +220,13 @@ func getCommitStatuses(ctx *context.APIContext, sha string) {
221
220
}
222
221
223
222
type combinedCommitStatus struct {
224
- State structs .CommitStatusState `json:"state"`
225
- SHA string `json:"sha"`
226
- TotalCount int `json:"total_count"`
227
- Statuses []* api.Status `json:"statuses"`
228
- Repo * api.Repository `json:"repository"`
229
- CommitURL string `json:"commit_url"`
230
- URL string `json:"url"`
223
+ State api .CommitStatusState `json:"state"`
224
+ SHA string `json:"sha"`
225
+ TotalCount int `json:"total_count"`
226
+ Statuses []* api.Status `json:"statuses"`
227
+ Repo * api.Repository `json:"repository"`
228
+ CommitURL string `json:"commit_url"`
229
+ URL string `json:"url"`
231
230
}
232
231
233
232
// GetCombinedCommitStatusByRef returns the combined status for any given commit hash
You can’t perform that action at this time.
0 commit comments