Added All Device handler
This commit is contained in:
@@ -75,7 +75,6 @@ namespace Birdmap.API.Controllers
|
||||
{
|
||||
_logger.LogInformation($"Getting device [{deviceID}]...");
|
||||
|
||||
await _hubContext.Clients.All.NotifyDeviceUpdatedAsync(deviceID);
|
||||
return await _service.GetdeviceAsync(deviceID);
|
||||
}
|
||||
|
||||
@@ -118,7 +117,6 @@ namespace Birdmap.API.Controllers
|
||||
{
|
||||
_logger.LogInformation($"Getting sensor [{sensorID}] of device [{deviceID}]...");
|
||||
|
||||
await _hubContext.Clients.All.NotifyDeviceUpdatedAsync(deviceID);
|
||||
return await _service.GetsensorAsync(deviceID, sensorID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user