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
1 changed files with 1 additions and 1 deletions

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) =>
{