Add missing readall tag
Add ReadAll tag missing from deploymentscontroller
This commit is contained in:
Родитель
d0b7caea4a
Коммит
3055de5523
|
@ -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));
|
||||
|
|
Загрузка…
Ссылка в новой задаче