Skip to content

Commit

Permalink
rota apos login
Browse files Browse the repository at this point in the history
  • Loading branch information
castroricardo1 committed Dec 11, 2023
1 parent 274c943 commit e9ff457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/login/login.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class LoginComponent implements OnInit {
.loginUser(this.userForm.value).subscribe({
next: (data) => {
localStorage.setItem('token', data.access_token);
this.navigator('/videos');
this.navigator('/catalog');
},
error: (error: ErrorResponseType) => {
this.alertService.errorMessage(error.error);
Expand Down

0 comments on commit e9ff457

Please sign in to comment.