From 2b9acc239e0dc176f78ed532eabbc3864761bf47 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 17:10:59 +0900 Subject: [PATCH] Fix bug --- src/client/app/auth/views/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/auth/views/index.vue b/src/client/app/auth/views/index.vue index 8f4f5fd8c5..826bcd125d 100644 --- a/src/client/app/auth/views/index.vue +++ b/src/client/app/auth/views/index.vue @@ -62,7 +62,7 @@ export default Vue.extend({ // 既に連携していた場合 if (this.session.app.isAuthorized) { - this.$root.$data.os.api('auth/accept', { + (this as any).api('auth/accept', { token: this.session.token }).then(() => { this.accepted();