Add Insignia launch configuration and improve null checks in InsigniaRequestController #2388
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m54s
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m54s
This commit is contained in:
parent
a4a5d13203
commit
6b8eddcbc0
2 changed files with 27 additions and 0 deletions
|
|
@ -2641,6 +2641,8 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
|||
{
|
||||
if (item.CitizanId == null) continue;
|
||||
var _profile = await _userProfileRepository.GetOfficerProfileByCitizenId(item.CitizanId, AccessToken);
|
||||
if (_profile == null)
|
||||
continue;
|
||||
var profile = insigniaNote.InsigniaNoteProfiles.FirstOrDefault(x => x.ProfileId == _profile.Id);
|
||||
if (profile == null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue