We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec54a8 commit 56ce925Copy full SHA for 56ce925
utils.js
@@ -16,7 +16,7 @@ module.exports = {
16
console.log(`Requesting ${path} with params: `, params)
17
18
return (await request({
19
- uri: `${this.endpoint + path}${Object.keys(params).length > 0 ? `?${new URLSearchParams(params).toString()}` : ''}`,
+ url: `${this.endpoint + path}${Object.keys(params).length > 0 ? `?${new URLSearchParams(params).toString()}` : ''}`,
20
json: true
21
})).body
22
},
@@ -28,7 +28,7 @@ module.exports = {
28
29
30
method: 'POST',
31
- uri: this.endpoint + path,
+ url: this.endpoint + path,
32
body: body,
33
34
0 commit comments