Log on agent when wake command is received.

This commit is contained in:
Jared Goodwin 2023-06-22 07:55:43 -07:00
parent be8073d4d6
commit 60b6dbd318

View File

@ -495,6 +495,9 @@ namespace Remotely.Agent.Services
_hubConnection.On("WakeDevice", async (string macAddress) =>
{
_logger.LogInformation(
"Received request to wake device with MAC address {macAddress}.",
macAddress);
await _wakeOnLanService.WakeDevice(macAddress);
});
}