From 821c4614c3eb03e958a6d3b909313efb269a7137 Mon Sep 17 00:00:00 2001 From: Adisak Date: Thu, 16 Oct 2025 11:48:01 +0700 Subject: [PATCH] #1480 --- .../Controllers/PlacementAppointmentController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BMA.EHR.Placement.Service/Controllers/PlacementAppointmentController.cs b/BMA.EHR.Placement.Service/Controllers/PlacementAppointmentController.cs index fb5aa8d4..5b85a73b 100644 --- a/BMA.EHR.Placement.Service/Controllers/PlacementAppointmentController.cs +++ b/BMA.EHR.Placement.Service/Controllers/PlacementAppointmentController.cs @@ -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; }