Skip to content

Commit

Permalink
changed router props
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuevIO committed Sep 29, 2024
1 parent dc61875 commit 77d2e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const authHandler: NavigationGuard = async to => {
const toastStore = useToastStore();

if (to.path.startsWith('/auth/oauth-authorized')) {
const methodLink = to.params.link;
const methodLink = to.params.method;
console.log(methodLink);
if (!isAuthMethod(methodLink)) {
console.log('failed', methodLink);
Expand Down

0 comments on commit 77d2e0c

Please sign in to comment.