File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 "lib" : " lib"
88 },
99 "dependencies" : {
10- "@root/request" : " ^1.7.0 "
10+ "@root/request" : " ^1.9.2 "
1111 },
1212 "devDependencies" : {},
1313 "scripts" : {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = {
1616 console . log ( `Requesting ${ path } with params: ` , params )
1717
1818 return ( await request ( {
19- uri : `${ this . endpoint + path } ${ Object . keys ( params ) . length > 0 ? `?${ new URLSearchParams ( params ) . toString ( ) } ` : '' } ` ,
19+ url : `${ this . endpoint + path } ${ Object . keys ( params ) . length > 0 ? `?${ new URLSearchParams ( params ) . toString ( ) } ` : '' } ` ,
2020 json : true
2121 } ) ) . body
2222 } ,
@@ -28,7 +28,7 @@ module.exports = {
2828
2929 return ( await request ( {
3030 method : 'POST' ,
31- uri : this . endpoint + path ,
31+ url : this . endpoint + path ,
3232 body : body ,
3333 json : true
3434 } ) ) . body
You can’t perform that action at this time.
0 commit comments