Skip to content

Commit

Permalink
Fixed issue with Assets
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickRitchie committed Dec 8, 2023
1 parent 7f5c233 commit 55c2b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/MTConnect.NET-MQTT/MTConnectMqttServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void DeviceAdded(object sender, IDevice device)

private void AssetAdded(object sender, IAsset asset)
{
var response = _mtconnectAgent.GetAssetsResponseDocument(new string[] { asset.Uuid });
var response = _mtconnectAgent.GetAssetsResponseDocument(new string[] { asset.AssetId });
if (response != null)
{
if (!response.Assets.IsNullOrEmpty())
Expand Down

0 comments on commit 55c2b15

Please sign in to comment.