diff options
| author | Roger Braun <roger@rogerbraun.net> | 2018-10-26 15:20:39 +0200 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2018-10-26 15:20:39 +0200 |
| commit | 60b3e4f40f122f2dfea3f4fc0360673169cd6f99 (patch) | |
| tree | f41e05756acffa7061b6cf62e62323ca1fea9e64 | |
| parent | 9af204b293a9c1b15e472423a4badff505fd662a (diff) | |
Fix linting.
| -rw-r--r-- | src/components/login_form/login_form.js | 4 | ||||
| -rw-r--r-- | 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') }) } |
