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

@@ -144,8 +144,8 @@ export default {
})
},
importFromPostman({ name, values }) {
let environment = { name: name, variables: [] }
values.forEach(({ key, value }) => environment.variables.push({ key: key, value: value }))
let environment = { name, variables: [] }
values.forEach(({ key, value }) => environment.variables.push({ key, value }))
let environments = [environment]
this.importFromPostwoman(environments)
},