Skip to content

Commit

Permalink
docs: fixes cypress-io#28789 -- added issue reference
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoAnastasiadis committed Jan 31, 2024
1 parent 3ae45a1 commit 331971e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/lib/request.js
Expand Up @@ -698,6 +698,7 @@ module.exports = function (options = {}) {
// either turn these both on or off
options.followAllRedirects = options.followRedirect

// https://github.com/cypress-io/cypress/issues/28789
if (options.json === true) {
if (options.body === true || options.body === false || options.body === null) options.body = String(options.body)
}
Expand Down

0 comments on commit 331971e

Please sign in to comment.