Stop using multiple apiService instances
This commit is contained in:
parent
7d637e84e4
commit
cf1980d768
8 changed files with 14 additions and 17 deletions
|
@ -7,7 +7,6 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
@Component({
|
||||
templateUrl: 'login.component.html',
|
||||
providers: [ApiService]
|
||||
})
|
||||
export class LoginComponent implements OnInit {
|
||||
signin: FormGroup;
|
||||
|
|
|
@ -8,7 +8,6 @@ import 'rxjs/add/operator/map';
|
|||
|
||||
@Component({
|
||||
templateUrl: 'register.component.html',
|
||||
providers: [ApiService]
|
||||
})
|
||||
|
||||
export class RegisterComponent {
|
||||
|
@ -134,4 +133,4 @@ export class RegisterComponent {
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue