Closed adamk33n3r closed 7 years ago
querystring's parsed object does not inherit from Object so it does not get the hasOwnProperty method. This causes an error when passing a query string as body
Object
hasOwnProperty
body
Please merge this pull request. In node 6 version I have this error TypeError: context.hasOwnProperty is not a function
TypeError: context.hasOwnProperty is not a function
This pull request solves this problem!
Great catch :+1:
querystring's parsed object does not inherit from
Object
so it does not get thehasOwnProperty
method. This causes an error when passing a query string asbody