diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index c11eee85..6ea3bf75 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -5409,6 +5409,7 @@ export class CommandController extends Controller { profile.gender = item.bodyProfile.gender ?? null; profile.relationship = item.bodyProfile.relationship ?? null; profile.religion = item.bodyProfile.religion ?? null; + profile.ethnicity = item.bodyProfile.ethnicity; profile.nationality = item.bodyProfile.nationality ?? null; profile.bloodGroup = item.bodyProfile.bloodGroup ?? null; profile.phone = item.bodyProfile.phone ?? null; @@ -5464,6 +5465,7 @@ export class CommandController extends Controller { profile.gender = item.bodyProfile.gender && item.bodyProfile.gender != "" ? item.bodyProfile.gender : profile.gender; profile.relationship = item.bodyProfile.relationship && item.bodyProfile.relationship != "" ? item.bodyProfile.relationship : profile.relationship; profile.religion = item.bodyProfile.religion && item.bodyProfile.religion != "" ? item.bodyProfile.religion : profile.religion; + profile.ethnicity = item.bodyProfile.ethnicity && item.bodyProfile.ethnicity != "" ? item.bodyProfile.ethnicity : profile.ethnicity; profile.nationality = item.bodyProfile.nationality && item.bodyProfile.nationality != "" ? item.bodyProfile.nationality : profile.nationality; profile.bloodGroup = item.bodyProfile.bloodGroup && item.bodyProfile.bloodGroup != "" ? item.bodyProfile.bloodGroup : profile.bloodGroup; profile.phone = item.bodyProfile.phone && item.bodyProfile.phone != "" ? item.bodyProfile.phone : profile.phone;