Set FunctionName of InvokeFunction.
This commit is contained in:
parent
27037b0663
commit
6e88cc6f2c
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue