Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix setting default raw params #681

Merged
merged 2 commits into from
Mar 17, 2020
Merged

Fix setting default raw params #681

merged 2 commits into from
Mar 17, 2020

Conversation

leomp12
Copy link
Contributor

@leomp12 leomp12 commented Mar 17, 2020

My first PR comes with a minor bug here https://github.com/liyasthomas/postwoman/pull/678/files#diff-b19fa22add3de9cd0b98b05366479d92R1442 😞
It's always true, so every time content type is changed to application/json body will be reset.

I'm fixing it here and also ensuring body is being reset to defaults only if it was not manually changed (empty or equals to default body for old content type).

@ghost
Copy link

ghost commented Mar 17, 2020

Congratulations 🍻. DeepCode analyzed your code in 0.512 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues.


☺️ If you want to provide feedback on our bot, here is how to contact us.

@TravisBuddy
Copy link

Hey @leomp12,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: 0ae0a6b0-6887-11ea-9beb-cb7d09b98ed8

@liyasthomas liyasthomas merged commit 6cfea0c into hoppscotch:master Mar 17, 2020
@leomp12 leomp12 deleted the fix/raw-params branch March 17, 2020 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants