Fix linting.

This commit is contained in:
Roger Braun 2018-10-26 15:20:39 +02:00
parent 9af204b293
commit 60b3e4f40f
2 changed files with 4 additions and 4 deletions

View File

@ -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(

View File

@ -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')
})
}