forked from Yara724/api
Fixed actors profile check and update for all of them
This commit is contained in:
@@ -12,10 +12,11 @@ export class ProfileActor {
|
||||
public address: string;
|
||||
public state: string;
|
||||
public city: string;
|
||||
public phone?: string;
|
||||
|
||||
constructor(Profile: DamageExpertModel) {
|
||||
this.email = Profile?.email;
|
||||
this.fullName = Profile?.firstName + " " + Profile?.lastName;
|
||||
this.fullName = `${Profile?.firstName} ${Profile?.lastName}`;
|
||||
this.nationalCode = Profile?.nationalCode;
|
||||
this.insuActivityCo = Profile?.insuActivityCo;
|
||||
this.userType = Profile?.userType;
|
||||
@@ -23,6 +24,7 @@ export class ProfileActor {
|
||||
this.address = Profile?.address;
|
||||
this.state = Profile?.state;
|
||||
this.city = Profile?.city;
|
||||
this.phone = Profile?.phone;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user