Skip to content

Commit

Permalink
Merge pull request #65 from zhao0/master
Browse files Browse the repository at this point in the history
fix request method and path of Commits.editStatus
  • Loading branch information
jdalrymple authored Apr 10, 2018
2 parents 562e913 + bfd584f commit c5cbcc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Commits.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Commits extends BaseService {
editStatus(projectId, sha, options) {
const pId = encodeURIComponent(projectId);

return RequestHelper.get(this, `projects/${pId}/repository/commits/${sha}/statuses`, options);
return RequestHelper.post(this, `projects/${pId}/statuses/${sha}`, options);
}

references(projectId, sha) {
Expand Down

0 comments on commit c5cbcc5

Please sign in to comment.