Add ReadAll tag missing from deploymentscontroller
This commit is contained in:
Molly Moen 2018-11-14 15:24:36 -08:00
Родитель d0b7caea4a
Коммит 3055de5523
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -67,6 +67,7 @@ namespace Microsoft.Azure.IoTSolutions.IotHubManager.WebService.v1.Controllers
/// <param name="includeDeviceStatus">Whether to retrieve additional details regarding device status</param>
/// <returns>Deployment information with metrics</returns>
[HttpGet("{id}")]
[Authorize("ReadAll")]
public async Task<DeploymentApiModel> GetAsync(string id, [FromQuery] bool includeDeviceStatus = false)
{
return new DeploymentApiModel(await this.deployments.GetAsync(id, includeDeviceStatus));