Closed nbanmp closed 5 years ago
With this.login implemented https://github.com/ConsenSys/armlet/pull/80/files, we can reuse some code by replacing blocks like:
this.login
if (!this.accessToken) { const tokens = await login.do(this.ethAddress, this.password, this.apiUrl) this.accessToken = tokens.access this.refreshToken = tokens.refresh }
with
await this.login()
see #97
With
this.login
implemented https://github.com/ConsenSys/armlet/pull/80/files, we can reuse some code by replacing blocks like:with