reformat code
This commit is contained in:
parent
374f18a8e7
commit
2518ed7239
@ -16,7 +16,8 @@ export class LoginComponent implements OnInit {
|
||||
errorMessage;
|
||||
|
||||
constructor(private http: HttpClient,
|
||||
private activatedRoute: ActivatedRoute) { }
|
||||
private activatedRoute: ActivatedRoute) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.activatedRoute.fragment.subscribe(data => {
|
||||
@ -67,6 +68,6 @@ export class LoginComponent implements OnInit {
|
||||
headers: new HttpHeaders(headerDict),
|
||||
observe: 'response',
|
||||
})
|
||||
.subscribe(data => alert("Returned with code: "+data['status']));
|
||||
.subscribe(data => alert('Returned with code: ' + data['status']));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user