mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #2810] [MERGED] fix: useCodemirror getting non strings as value #4081
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#4081
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/2810
Author: @amk-dev
Created: 10/21/2022
Status: ✅ Merged
Merged: 10/22/2022
Merged by: @AndrewBastin
Base:
main← Head:fix/HOPPSCOTCH-APP-43📝 Commits (2)
27eaf38fix: fix useCodemirror getting non strings as valuefc3ba62fix: propogate back the codemirror changes📊 Changes
2 files changed (+32 additions, -12 deletions)
View changed files
📝
packages/hoppscotch-app/src/components/http/RawBody.vue(+22 -11)📝
packages/hoppscotch-app/src/composables/codemirror.ts(+10 -1)📄 Description
Description
fix HOPPSCOTCH-APP-43
useCodemirrorcomposable was expecting a string, but when it is used in RawBody.vue and the content type ismultipart/form-datait was getting passed an array which caused an invalid state{ contentType: "multipart/formdata", body: "" }for the request body. this PR fixes it🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.