Skip to content

Commit 61b8f01

Browse files
committed
fix commit statuses api url
1 parent b16be15 commit 61b8f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/commit_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (status *CommitStatus) loadRepo(e Engine) (err error) {
8989
// APIURL returns the absolute APIURL to this commit-status.
9090
func (status *CommitStatus) APIURL() string {
9191
_ = status.loadRepo(x)
92-
return fmt.Sprintf("%sapi/v1/%s/statuses/%s",
92+
return fmt.Sprintf("%sapi/v1/repos/%s/statuses/%s",
9393
setting.AppURL, status.Repo.FullName(), status.SHA)
9494
}
9595

0 commit comments

Comments
 (0)