#1480
Some checks failed
release-dev / release-dev (push) Failing after 10s

This commit is contained in:
Adisak 2025-10-16 11:48:01 +07:00
parent 81658054f8
commit 821c4614c3

View file

@ -13,6 +13,7 @@ using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Swashbuckle.AspNetCore.Annotations;
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Security.Claims;
@ -99,7 +100,7 @@ namespace BMA.EHR.Placement.Service.Controllers
? profileAdmin?.RootDnaId
: "";
}
else if (role == "ROOT" && role == "PARENT")
else if (role == "ROOT" || role == "PARENT")
{
nodeId = profileAdmin?.RootDnaId;
}