diff --git a/Controllers/ProfileReportController.cs b/Controllers/ProfileReportController.cs index 60fd321..594324d 100644 --- a/Controllers/ProfileReportController.cs +++ b/Controllers/ProfileReportController.cs @@ -626,7 +626,7 @@ namespace BMA.EHR.Report.Service.Controllers } var fileContent = ms.ToArray(); - return File(fileContent, "application/pdf", $"กก_1_{id}.pdf"); + return File(fileContent, "application/pdf", $"กก_1_{profile[0].CitizenId}.pdf"); } } catch (Exception ex)