Refactor arguments check

This commit is contained in:
KGrzeg 2021-10-17 22:53:33 +02:00
parent 536c791f66
commit 6843b76ebf
2 changed files with 18 additions and 17 deletions

View file

@ -31,7 +31,7 @@ export default {
return this.post("signup", { name })
},
async login(password: string) {
return this.post("login", { password })
async login(key: string) {
return this.post("login", { key })
}
}