add allowanonymous

This commit is contained in:
Suphonchai Phoonsawat 2023-05-23 10:14:03 +07:00
parent 0906690285
commit e98888ee3a
2 changed files with 3 additions and 0 deletions

View file

@ -299,6 +299,7 @@ namespace BMA.EHR.Report.Service.Controllers
}
[HttpGet("pass/{id:length(36)}")]
[AllowAnonymous]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]

View file

@ -216,6 +216,7 @@ namespace BMA.EHR.Report.Service.Controllers
[HttpGet("candidate/{id:length(36)}")]
[AllowAnonymous]
public async Task<ActionResult<ResponseObject>> GetCandidateListReportAsync(Guid id)
{
try
@ -266,6 +267,7 @@ namespace BMA.EHR.Report.Service.Controllers
}
[HttpGet("pass/{id:length(36)}")]
[AllowAnonymous]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
[ProducesResponseType(StatusCodes.Status401Unauthorized)]