Set FunctionName of InvokeFunction.

This commit is contained in:
Haiping Chen 2023-12-11 17:15:37 -06:00
parent 27037b0663
commit 6e88cc6f2c

View file

@ -9,6 +9,7 @@ public partial class RoutingService
var function = _services.GetServices<IFunctionCallback>().FirstOrDefault(x => x.Name == name);
if (function == null) return false;
message.FunctionName = name;
return await function.Execute(message);
}
}