Skip to content

Commit

Permalink
Update index.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas authored Mar 22, 2020
1 parent 2a8ba00 commit ed4f1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ export default {
},
rawRequestBody() {
const { bodyParams, contentType } = this
if (contentType === "application/json") {
if (contentType.endsWith("json")) {
try {
const obj = JSON.parse(
`{${bodyParams
Expand Down

0 comments on commit ed4f1fe

Please sign in to comment.