1
0
mirror of synced 2024-11-14 06:29:17 +00:00

Fixed result type check failing for Task result in flows

This commit is contained in:
Mark van Renswoude 2023-04-06 14:03:34 +02:00
parent 320ccfa0e5
commit 17074178d5

View File

@ -65,7 +65,7 @@ namespace Tapeti.Flow.Default
await HandleParallelResponse(messageContext);
});
}
if (context.Result.Info.ParameterType == typeof(ValueTask))
else if (context.Result.Info.ParameterType == typeof(ValueTask))
{
context.Result.SetHandler(async (messageContext, value) =>
{