File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ class Issues extends BaseService {
4646 } ) ;
4747 }
4848
49+ participants ( projectId , issueId ) {
50+ const [ pId , iId ] = [ projectId , issueId ] . map ( encodeURIComponent ) ;
51+
52+ return RequestHelper . get ( this , `projects/${ pId } /issues/${ iId } /participants` ) ;
53+ }
54+
4955 remove ( projectId , issueId ) {
5056 const [ pId , iId ] = [ projectId , issueId ] . map ( encodeURIComponent ) ;
5157
@@ -76,12 +82,6 @@ class Issues extends BaseService {
7682 return RequestHelper . post ( this , `projects/${ pId } /issues/${ iId } /subscribe` , options ) ;
7783 }
7884
79- participants ( projectId , issueId ) {
80- const [ pId , iId ] = [ projectId , issueId ] . map ( encodeURIComponent ) ;
81-
82- return RequestHelper . get ( this , `projects/${ pId } /issues/${ iId } /participants` ) ;
83- }
84-
8585 timeStats ( projectId , mergerequestId ) {
8686 const [ pId , mId ] = [ projectId , mergerequestId ] . map ( encodeURIComponent ) ;
8787
You can’t perform that action at this time.
0 commit comments