Skip to content

Commit 44c0d98

Browse files
author
James
committed
make the API ID use ID instead of Index
1 parent edea3e1 commit 44c0d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/convert/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func ToCommitStatus(status *models.CommitStatus) *api.CommitStatus {
1717
State: status.State,
1818
TargetURL: status.TargetURL,
1919
Description: status.Description,
20-
ID: status.Index,
20+
ID: status.ID,
2121
URL: status.APIURL(),
2222
Context: status.Context,
2323
}

0 commit comments

Comments
 (0)