Skip to content

Commit cd028ad

Browse files
author
noac
committed
fix jquery body - use the source object json field in case of application/json mime type
1 parent f8fa871 commit cd028ad

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)