diff --git a/src/app/app.component.ts b/src/app/app.component.ts index e7e0103..0e88247 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { SEOService } from '@app/core/services'; +import { AuthService, SEOService } from '@app/core/services'; @Component( { selector: 'app-root', @@ -10,7 +10,7 @@ export class AppComponent implements OnInit { title = 'DiscoTrip'; - constructor( public seoService: SEOService ) { + constructor( private seoService: SEOService, public authService: AuthService ) { } ngOnInit() { diff --git a/src/app/register/register.component.ts b/src/app/register/register.component.ts index 40bf0b6..4fec0f9 100644 --- a/src/app/register/register.component.ts +++ b/src/app/register/register.component.ts @@ -1,5 +1,5 @@ import { Component, OnInit } from '@angular/core'; -import { AuthService } from '@app/core/services/auth/auth.service'; +import { AuthService } from '@app/core/services/auth/auth.service'; @Component( { selector: 'app-register', @@ -8,7 +8,7 @@ import { AuthService } from '@app/core/services/auth/auth.service'; } ) export class RegisterComponent implements OnInit { - constructor(private authService: AuthService) { + constructor( public authService: AuthService ) { } ngOnInit() {