Fix WebSocket URI format and remove unnecessary null-forgiving operator

Co-authored-by: chkr1011 <6939810+chkr1011@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-07 10:52:10 +00:00
co-authored by chkr1011
parent 16f8765562
commit 9cf9a714cb
4 changed files with 4 additions and 4 deletions
@@ -57,7 +57,7 @@ public class PublishMqttMessageCmdlet : PSCmdlet
foreach (var key in UserProperties.Keys)
{
var value = UserProperties[key]?.ToString() ?? string.Empty;
msgBuilder.WithUserProperty(key.ToString()!, value);
msgBuilder.WithUserProperty(key.ToString(), value);
}
}