reformat code
This commit is contained in:
parent
374f18a8e7
commit
2518ed7239
@ -16,7 +16,8 @@ export class LoginComponent implements OnInit {
|
|||||||
errorMessage;
|
errorMessage;
|
||||||
|
|
||||||
constructor(private http: HttpClient,
|
constructor(private http: HttpClient,
|
||||||
private activatedRoute: ActivatedRoute) { }
|
private activatedRoute: ActivatedRoute) {
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.activatedRoute.fragment.subscribe(data => {
|
this.activatedRoute.fragment.subscribe(data => {
|
||||||
@ -67,6 +68,6 @@ export class LoginComponent implements OnInit {
|
|||||||
headers: new HttpHeaders(headerDict),
|
headers: new HttpHeaders(headerDict),
|
||||||
observe: 'response',
|
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