Last active
July 29, 2021 08:38
-
-
Save teomanofficial/4bf805908f1b39aa6997f37d95dab386 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.authService.login(request) | |
.subscribe((response) => { | |
localStorage.setItem('access_token', response.token); | |
this.router.navigate('/') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment