mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
added participants function for issues (#125)
see: https://docs.gitlab.com/ee/api/issues.html#participants-on-issues
This commit is contained in:
parent
4f682cad3b
commit
7ff06cf30f
@ -76,6 +76,12 @@ class Issues extends BaseService {
|
||||
return RequestHelper.post(this, `projects/${pId}/issues/${iId}/subscribe`, options);
|
||||
}
|
||||
|
||||
participants(projectId, issueId) {
|
||||
const [pId, iId] = [projectId, issueId].map(encodeURIComponent);
|
||||
|
||||
return RequestHelper.get(this, `projects/${pId}/issues/${iId}/participants`);
|
||||
}
|
||||
|
||||
timeStats(projectId, mergerequestId) {
|
||||
const [pId, mId] = [projectId, mergerequestId].map(encodeURIComponent);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user