mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #681] [MERGED] Fix setting default raw params #2788
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2788
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/681
Author: @leomp12
Created: 3/17/2020
Status: ✅ Merged
Merged: 3/17/2020
Merged by: @liyasthomas
Base:
master← Head:fix/raw-params📝 Commits (2)
b0c3278Merge pull request #1 from liyasthomas/masterf2c3bd5fix(raw-params): syntax fix, set default only when params is empty or old default📊 Changes
1 file changed (+15 additions, -17 deletions)
View changed files
📝
pages/index.vue(+15 -17)📄 Description
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/jsonbody 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).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.