Skip to content

Commit

Permalink
[SPDBT-3114] fix bcsc login, peace office role code lost (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
esdd1995 authored Oct 8, 2024
1 parent ec6ddc8 commit aa055b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Spd.Manager.Licence/ApplicantProfileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ public async Task<ApplicantLoginResponse> Handle(ApplicantLoginCommand cmd, Canc
UpdateContactCmd updateContactCmd = _mapper.Map<UpdateContactCmd>(cmd);
updateContactCmd.Id = (Guid)id.ContactId;
updateContactCmd.IdentityId = id.Id;
updateContactCmd.IsPoliceOrPeaceOfficer = contactResp.IsPoliceOrPeaceOfficer;
updateContactCmd.PoliceOfficerRoleCode = contactResp.PoliceOfficerRoleCode;
updateContactCmd.OtherOfficerRole = contactResp.OtherOfficerRole;
contactResp = await _contactRepository.ManageAsync(updateContactCmd, ct);
}
}
Expand Down

0 comments on commit aa055b3

Please sign in to comment.