fix: make headers property writable

This commit is contained in:
jamesgeorge007
2019-11-26 15:41:53 +05:30
parent ffb8fd0172
commit 6e537eed58

View File

@@ -1260,7 +1260,7 @@ export default {
return requestString.join("\n"); return requestString.join("\n");
} else if (this.requestType == "Fetch") { } else if (this.requestType == "Fetch") {
const requestString = []; const requestString = [];
const headers = []; let headers = [];
requestString.push( requestString.push(
'fetch("' + this.url + this.pathName + this.queryString + '", {\n' 'fetch("' + this.url + this.pathName + this.queryString + '", {\n'
); );