Redefinida interfaz user
This commit is contained in:
parent
36426bc643
commit
de5a925e38
|
@ -16,9 +16,9 @@ export class LoginService {
|
||||||
constructor(private apiService: ApiService, private router: Router) {
|
constructor(private apiService: ApiService, private router: Router) {
|
||||||
this.user = {
|
this.user = {
|
||||||
id: 0,
|
id: 0,
|
||||||
|
discotecaId: 0,
|
||||||
userType: 0,
|
userType: 0,
|
||||||
username: '',
|
username: '',
|
||||||
password: ''
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export interface User {
|
export interface User {
|
||||||
id: number;
|
id: number;
|
||||||
|
discotecaId: number;
|
||||||
userType: number;
|
userType: number;
|
||||||
username: string;
|
username: string;
|
||||||
password: string;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue