Fix + allow anonymous for tablet access (get)

This commit is contained in:
Thomas Fransolet 2021-07-01 18:35:27 +02:00
parent 22c34d90a6
commit f03ef70fa3
2 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ namespace ManagerService.Controllers
/// <summary> /// <summary>
/// Get a list of all configuration (summary) /// Get a list of all configuration (summary)
/// </summary> /// </summary>
[AllowAnonymous]
[ProducesResponseType(typeof(List<ConfigurationDTO>), 200)] [ProducesResponseType(typeof(List<ConfigurationDTO>), 200)]
[ProducesResponseType(typeof(string), 500)] [ProducesResponseType(typeof(string), 500)]
[HttpGet] [HttpGet]

View File

@ -52,6 +52,7 @@ namespace ManagerService.Controllers
/// Get a list of all section from a specific configuration /// Get a list of all section from a specific configuration
/// </summary> /// </summary>
/// <param name="id">configuration id</param> /// <param name="id">configuration id</param>
[AllowAnonymous]
[ProducesResponseType(typeof(List<SectionDTO>), 200)] [ProducesResponseType(typeof(List<SectionDTO>), 200)]
[ProducesResponseType(typeof(string), 500)] [ProducesResponseType(typeof(string), 500)]
[ProducesResponseType(typeof(string), 400)] [ProducesResponseType(typeof(string), 400)]
@ -284,6 +285,7 @@ namespace ManagerService.Controllers
Description = section.Description, Description = section.Description,
Latitude = "50.416639", Latitude = "50.416639",
Longitude= "4.879169", Longitude= "4.879169",
Images = new List<ImageGeoPoint>()
} }
}; };