diff --git a/src/app/login.service.ts b/src/app/login.service.ts index 1b7225a..6e8f283 100644 --- a/src/app/login.service.ts +++ b/src/app/login.service.ts @@ -16,9 +16,9 @@ export class LoginService { constructor(private apiService: ApiService, private router: Router) { this.user = { id: 0, + discotecaId: 0, userType: 0, username: '', - password: '' }; } diff --git a/src/app/user.ts b/src/app/user.ts index 5f9dd3f..78fb1f5 100644 --- a/src/app/user.ts +++ b/src/app/user.ts @@ -1,6 +1,6 @@ export interface User { id: number; + discotecaId: number; userType: number; username: string; - password: string; }