check type officer
This commit is contained in:
parent
c49375718d
commit
75d8434935
1 changed files with 1 additions and 1 deletions
|
|
@ -2207,7 +2207,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
|||
if (req.DateReceive != null && req.Date != null)
|
||||
{
|
||||
profileInsignia.Status = "DONE";
|
||||
if (profile.ProfileType == "officer")
|
||||
if (profile.ProfileType != null && profile.ProfileType.ToLower() == "officer")
|
||||
{
|
||||
var profileInsigniaBody = new PostProfileInsigniaDto
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue