Skip to content

Commit 0619190

Browse files
author
Sefi Krausz
committed
changes
1 parent 33c25be commit 0619190

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/targets/node/axios.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ module.exports = function (source, options) {
6262

6363
const requestOptions = {
6464
method: `${source.method}`,
65+
url: `${source.url}`,
6566
headers: {
6667
'content-type': `${source.postData.mimeType}`,
6768
...(Object.keys(source.headersObj).length && source.headersObj)
6869
},
69-
params: Object.keys(source.queryObj).length ? source.queryObj : undefined,
70-
url: `${source.url}`
70+
params: Object.keys(source.queryObj).length ? source.queryObj : undefined
7171
};
7272
const { postData } = source
7373
const { mimeType } = postData

0 commit comments

Comments
 (0)