mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Merge pull request #65 from zhao0/master
fix request method and path of Commits.editStatus
This commit is contained in:
commit
c5cbcc5e63
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user