Skip to content
Snippets Groups Projects
Commit 60b3e4f4 authored by lain's avatar lain
Browse files

Fix linting.

parent 9af204b2
No related branches found
No related tags found
No related merge requests found
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(
......
......@@ -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')
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment