chore: linting

This commit is contained in:
Roberto Tonino 2021-06-02 15:40:21 +02:00
parent 599b6aecc2
commit 58642b6d48

View File

@ -1026,7 +1026,11 @@ export default {
const { email } = fromLoginForm('email') const { email } = fromLoginForm('email')
const { password } = fromLoginForm('password') const { password } = fromLoginForm('password')
const { accessToken, arl } = await postToServer('loginWithCredentials', { email, password, accessToken: this.accessToken}) const { accessToken, arl } = await postToServer('loginWithCredentials', {
email,
password,
accessToken: this.accessToken
})
if (accessToken !== this.accessToken) this.dispatchAccessTocken({ accessToken }) if (accessToken !== this.accessToken) this.dispatchAccessTocken({ accessToken })
if (arl) this.login(arl) if (arl) this.login(arl)