1
0
forked from Yara724/api

Fixed actors profile check and update for all of them

This commit is contained in:
SepehrYahyaee
2026-01-21 16:45:34 +03:30
parent c5fe27934b
commit 1ed46d1609
3 changed files with 9 additions and 4 deletions

View File

@@ -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;
}
}