Refactor user profile retrieval method in InsigniaRequestController #2390
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m41s
All checks were successful
Build & Deploy Insignia Service / build (push) Successful in 1m41s
This commit is contained in:
parent
cea1c4b64e
commit
bf92f6933e
1 changed files with 1 additions and 1 deletions
|
|
@ -3098,7 +3098,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
||||||
var doc = await _documentService.UploadFileAsync(file, file.FileName);
|
var doc = await _documentService.UploadFileAsync(file, file.FileName);
|
||||||
insigniaNoteProfile.DocReturnInsignia = doc;
|
insigniaNoteProfile.DocReturnInsignia = doc;
|
||||||
}
|
}
|
||||||
var root = _userProfileRepository.GetOc(req.OrgId, 0, AccessToken)?.Root ?? null;
|
var root = _userProfileRepository.GetOcByNodeId(req.OrgId, 0, AccessToken)?.Root ?? null;
|
||||||
if (req.OrgId != Guid.Parse("00000000-0000-0000-0000-000000000000"))
|
if (req.OrgId != Guid.Parse("00000000-0000-0000-0000-000000000000"))
|
||||||
{
|
{
|
||||||
if (root == null)
|
if (root == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue