Skip to content

Commit

Permalink
debugging oauth methods (#240)
Browse files Browse the repository at this point in the history
## Изменения
Добавил логи для оаутха, чтобы понять, почему они не обновляются. Убрал
условие на проверку стора.

## Детали реализации
<!-- Здесь можно описать технические детали по пунктам. -->
  • Loading branch information
BatuevIO authored Sep 29, 2024
1 parent 73d338a commit 5d9df64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/profile/ProfileEditAuthView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ onMounted(async () => {
profileStore.updateToken(history.state.token);
delete history.state.token;
}
if (profileStore.authMethods?.length == 0) {
AuthApi.getMe(['auth_methods']);
}
console.log(profileStore.authMethods);
AuthApi.getMe(['auth_methods']);
console.log(profileStore.authMethods);
});
const canLinked = computed(() =>
Expand Down

0 comments on commit 5d9df64

Please sign in to comment.