fix(eslint app): prepere to eslint --fix

This commit is contained in:
2024-04-02 10:46:20 +03:00
parent 10114ff67e
commit 3b44337cb5
3 changed files with 5 additions and 4 deletions

View File

@@ -9,14 +9,14 @@ class ServiceOfMachines {
return await this.adapter.getModalMachines()
}
async putModalMachines(machines) {
async setModalMachines(machines) {
const result = await this.store.dispatch('machines/saveModalMachines', machines)
return result
}
async makeFetchAndPutModalMachines() {
const machines = await this.fetchModalMachines()
await this.putModalMachines(machines)
await this.setModalMachines(machines)
return machines
}
}