Skip to content

Commit

Permalink
use var instead of const
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Feb 18, 2021
1 parent 6b4bd97 commit 5d3952d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function Body() {
this._bodyText = body = Object.prototype.toString.call(body)
}

const contentType = this.headers.get('content-type')
var contentType = this.headers.get('content-type')

if (!contentType) {
if (typeof body === 'string') {
Expand Down

0 comments on commit 5d3952d

Please sign in to comment.