Describe the bug
On any Nodejs request, GraphQL request is not generating the correct query
To Reproduce
Steps to reproduce the behavior:
- Go to the Postman app
- Select or generate a graphQL request that has this following template
query {
object {
field
field
}
}
- Click on Code
- Search for any Nodejs - Requests
- Select it
- See the generated Nodejs code snippet
Expected code snippet and corresponding request
GraphQL request should be able to support multi-line query
Screenshots

Additional context
A quick fix for this would be adding multi-line character instead of quote character on sanitize body request