Skip to content

Commit

Permalink
fix: use MC class instead of generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed Apr 8, 2024
1 parent 7aeeeb4 commit 0a0de7c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected override void RegisterActions()
{
PostStatusMessage(JToken.FromObject(new
{
outputs = matrixDevice.OutputSlots
outputs = matrixDevice.OutputSlots.ToDictionary(kvp => kvp.Key, kvp => new RoutingOutput<TInput>(kvp.Value))
}));
};
}
Expand All @@ -79,7 +79,7 @@ protected override void RegisterActions()
{
PostStatusMessage(JToken.FromObject(new
{
inputs = matrixDevice.InputSlots
inputs = matrixDevice.InputSlots.ToDictionary(kvp => kvp.Key, kvp => new RoutingInput(kvp.Value))
}));
};
}
Expand Down

0 comments on commit 0a0de7c

Please sign in to comment.