No longer sending extra data, renamed some properties

This commit is contained in:
Henry Jameson 2019-06-13 00:39:51 +03:00
parent 77511a5338
commit af75c6d1ea
4 changed files with 14 additions and 10 deletions

View file

@ -4,8 +4,10 @@ const oac = {
props: ['code'],
mounted () {
if (this.code) {
const { clientId } = this.$store.state.oauth
oauth.getToken({
...this.$store.state.oauth,
clientId,
instance: this.$store.state.instance.server,
code: this.code
}).then((result) => {