diff --git a/ManagerService/Controllers/SectionController.cs b/ManagerService/Controllers/SectionController.cs index f6f4b13..9d11020 100644 --- a/ManagerService/Controllers/SectionController.cs +++ b/ManagerService/Controllers/SectionController.cs @@ -233,17 +233,17 @@ namespace ManagerService.Controllers /// /// Get all section with beacon /// - /// Instance id + /// Instance id [AllowAnonymous] [ProducesResponseType(typeof(List), 200)] [ProducesResponseType(typeof(string), 404)] [ProducesResponseType(typeof(string), 500)] [HttpGet("beacons/{id}")] - public ObjectResult GetAllBeaconsForInstance(string id) + public ObjectResult GetAllBeaconsForInstance(string instanceId) { try { - List
sections = _sectionService.GetAll(id); + List
sections = _sectionService.GetAll(instanceId); if (sections.Count == 0) throw new KeyNotFoundException("No section has beacon");