Skip to content
Snippets Groups Projects
Commit 99c864eb authored by David Noah Donges's avatar David Noah Donges
Browse files

Add token to user class

parent ef2e9fda
1 merge request!58Persist user data
......@@ -5,11 +5,13 @@ export class User {
name: string;
email: string;
role: UserRole;
token: string;
constructor(id: number, name: string, email: string, role: UserRole) {
constructor(id: number, name: string, email: string, role: UserRole, token: string) {
this.id = id;
this.name = name;
this.email = email;
this.role = role;
this.token = token;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment