File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ class App {
4646
4747 if ( lockComment ) {
4848 core . debug ( `Commenting (${ type } : ${ issue . issue_number } )` ) ;
49- await this . client . issues . createComment ( {
49+ await this . client . rest . issues . createComment ( {
5050 ...issue ,
5151 body : lockComment
5252 } ) ;
5353 }
5454
5555 if ( lockLabels ) {
5656 core . debug ( `Labeling (${ type } : ${ issue . issue_number } )` ) ;
57- await this . client . issues . addLabels ( {
57+ await this . client . rest . issues . addLabels ( {
5858 ...issue ,
5959 labels : lockLabels
6060 } ) ;
@@ -73,7 +73,7 @@ class App {
7373 } else {
7474 params = issue ;
7575 }
76- await this . client . issues . lock ( params ) ;
76+ await this . client . rest . issues . lock ( params ) ;
7777
7878 threads . push ( issue ) ;
7979 }
@@ -109,7 +109,7 @@ class App {
109109
110110 core . debug ( `Searching (${ type } s)` ) ;
111111 const results = (
112- await this . client . search . issuesAndPullRequests ( {
112+ await this . client . rest . search . issuesAndPullRequests ( {
113113 q : query ,
114114 sort : 'updated' ,
115115 order : 'desc' ,
You can’t perform that action at this time.
0 commit comments