Skip to content

Commit 47981e3

Browse files
authored
Merge pull request #2 from RapidAPI/jquery-fix
fix jquery body - use source object's json field
2 parents f8fa871 + cd028ad commit 47981e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/targets/javascript/jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = function (source, options) {
3434

3535
case 'application/json':
3636
settings.processData = false
37-
settings.data = source.postData.text
37+
settings.data = source.postData.jsonObj
3838
break
3939

4040
case 'multipart/form-data':

0 commit comments

Comments
 (0)