diff --git a/frontend/components/auth/SocialLogin.vue b/frontend/components/auth/SocialLogin.vue
index e29a18c7..09f7b290 100644
--- a/frontend/components/auth/SocialLogin.vue
+++ b/frontend/components/auth/SocialLogin.vue
@@ -8,7 +8,7 @@
color="secondary"
:href="item.href"
>
- Login With {{item.provider}}
+ Login With {{ item.provider }}
@@ -29,16 +29,17 @@ export default Vue.extend({
}
},
async mounted() {
- const response = await this.fetchSocialLink();
+ const response = await this.fetchSocialLink()
this.social = Object.entries(response)
.map(([key, value]: any) => ({
provider: key,
- value,
- })).filter((item) => !!item.value?.authorize_url)
+ value
+ }))
+ .filter((item) => !!item.value?.authorize_url)
.map((item: any) => ({
...item,
- href: `${item.value.authorize_url}&redirect_uri=${location.origin}${item.value.redirect_path}`,
- }));
- },
+ href: `${item.value.authorize_url}&redirect_uri=${location.origin}${item.value.redirect_path}`
+ }))
+ }
})
diff --git a/frontend/pages/auth.vue b/frontend/pages/auth.vue
index 62f58622..e41a1e7d 100644
--- a/frontend/pages/auth.vue
+++ b/frontend/pages/auth.vue
@@ -5,8 +5,8 @@
-
-
+
+
@@ -23,7 +23,7 @@ import SocialLogin from '@/components/auth/SocialLogin.vue'
export default Vue.extend({
components: {
FormLogin,
- SocialLogin,
+ SocialLogin
},
methods: {
diff --git a/frontend/repositories/auth/apiAuthRepository.ts b/frontend/repositories/auth/apiAuthRepository.ts
index 24399f62..7173ad3e 100644
--- a/frontend/repositories/auth/apiAuthRepository.ts
+++ b/frontend/repositories/auth/apiAuthRepository.ts
@@ -16,7 +16,7 @@ export class APIAuthRepository implements AuthRepository {
async socialLink(): Promise {
const url = '/social/links/'
- const response = await this.request.get(url);
+ const response = await this.request.get(url)
return response.data
}
}