Lint + ES6

This commit is contained in:
Liyas Thomas
2020-10-21 13:49:02 +05:30
parent f49c2138de
commit 91a7d20923
5 changed files with 19 additions and 20 deletions

View File

@@ -1361,7 +1361,7 @@ export default {
: true,
},
currentMethodIndex: 0,
codegens: codegens,
codegens,
methodMenuItems: [
"GET",
"HEAD",
@@ -1416,7 +1416,7 @@ export default {
this.setRouteQueryState()
},
params: {
handler: function (newValue) {
handler(newValue) {
if (!this.paramsWatchEnabled) {
this.paramsWatchEnabled = true
return
@@ -1474,7 +1474,7 @@ export default {
? "application/json"
: ""
},
preRequestScript: function (val, oldVal) {
preRequestScript(val, oldVal) {
this.uri = this.uri
},
},
@@ -1826,7 +1826,7 @@ export default {
httpUser: this.httpUser,
httpPassword: this.httpPassword,
bearerToken: this.bearerToken,
headers: headers,
headers,
rawInput: this.rawInput,
rawParams: this.rawParams,
rawRequestBody: this.rawRequestBody,
@@ -1860,7 +1860,7 @@ export default {
if (env.name === "Globals" || env.name === "globals") {
preRequestScriptString += this.useSelectedEnvironment({
environment: env,
environments: environments,
environments,
})
}
}