From 60b3e4f40f122f2dfea3f4fc0360673169cd6f99 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 26 Oct 2018 15:20:39 +0200 Subject: [PATCH] Fix linting. --- src/components/login_form/login_form.js | 4 ++-- src/components/oauth_callback/oauth_callback.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/login_form/login_form.js b/src/components/login_form/login_form.js index b1899666..ffdd5504 100644 --- a/src/components/login_form/login_form.js +++ b/src/components/login_form/login_form.js @@ -1,4 +1,4 @@ -import oauthApi from "../../services/new_api/oauth.js"; +import oauthApi from '../../services/new_api/oauth.js' const LoginForm = { data: () => ({ user: {}, @@ -14,7 +14,7 @@ const LoginForm = { oauth: this.$store.state.oauth, instance: this.$store.state.instance.server, commit: this.$store.commit - }); + }) }, submit () { this.$store.dispatch('loginUser', this.user).then( diff --git a/src/components/oauth_callback/oauth_callback.js b/src/components/oauth_callback/oauth_callback.js index 60a15412..7a5132ad 100644 --- a/src/components/oauth_callback/oauth_callback.js +++ b/src/components/oauth_callback/oauth_callback.js @@ -9,8 +9,8 @@ const oac = { instance: this.$store.state.instance.server, code: this.code }).then((result) => { - this.$store.commit("setToken", result.access_token) - this.$store.dispatch("loginUser", result.access_token) + this.$store.commit('setToken', result.access_token) + this.$store.dispatch('loginUser', result.access_token) this.$router.push('/main/friends') }) }