reformat code

This commit is contained in:
Marco Zeisler 2021-03-21 18:44:30 +01:00
parent 374f18a8e7
commit 2518ed7239

View File

@ -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']));
} }
} }