mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Add MergeRequest.participants request
This commit is contained in:
parent
5858fcbbe7
commit
5c04ea490a
@ -107,6 +107,12 @@ class MergeRequests extends BaseService {
|
||||
return RequestHelper.put(this, `projects/${pId}/${mergeRequest}approvers`, options);
|
||||
}
|
||||
|
||||
participants(projectId: ProjectId, mergerequestId: MergeRequestId) {
|
||||
const [pId, mId] = [projectId, mergerequestId].map(encodeURIComponent);
|
||||
|
||||
return RequestHelper.get(this, `projects/${pId}/merge_requests/${mId}/participants`);
|
||||
}
|
||||
|
||||
pipelines(projectId: ProjectId, { mergerequestId }: { mergerequestId?: string } = {}) {
|
||||
const pId = encodeURIComponent(projectId);
|
||||
const mergeRequest = mergerequestId ? `merge_requests/${encodeURIComponent(mergerequestId)}` : '';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user