Fix + allow anonymous for tablet access (get)
This commit is contained in:
parent
22c34d90a6
commit
f03ef70fa3
@ -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]
|
||||||
|
|||||||
@ -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>()
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user