mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Update weather service to .NET 5
This commit is contained in:
@@ -81,7 +81,7 @@ namespace ChrisKaczor.HomeMonitor.Weather.Service
|
||||
try
|
||||
{
|
||||
var body = eventArgs.Body;
|
||||
var message = Encoding.UTF8.GetString(body);
|
||||
var message = Encoding.UTF8.GetString(body.ToArray());
|
||||
|
||||
WriteLog($"Message received: {message}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user