InventoryTest.GetExchanges fix

This commit is contained in:
André Straubmeier 2023-06-09 09:23:26 +02:00
parent a3419df3b9
commit 5475972ae7

View File

@ -166,7 +166,7 @@ public async Task GetExchanges()
foreach ( var item in exchange.Ingredients )
{
Console.WriteLine( $" {item.Count} x {item.Definition.Name}" );
Console.WriteLine( $" {item.Count} x {item.Definition?.Name ?? item.DefinitionId.ToString()}" );
}
Console.WriteLine( $"" );