From 40b5fc37fc82efba6574d1d3b91e9a8facf0226a Mon Sep 17 00:00:00 2001 From: sjuarez Date: Thu, 30 Jan 2025 10:40:56 -0300 Subject: [PATCH] Function name criteria has changed --- dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs b/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs index 43d85e3a9..fc8402f8d 100644 --- a/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs +++ b/dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs @@ -311,7 +311,7 @@ internal string GetGxRouteValue(string path) string pathWithNoBase = string.IsNullOrEmpty(basePath) ? path.Substring(1) : path.Substring(basePath.Length + 2); //API Objects - string AzureFunctionShortName = AzureFunctionName.Substring(AzureFunctionName.LastIndexOf(".") + 1); + string AzureFunctionShortName = AzureFunctionName.Substring(AzureFunctionName.LastIndexOf("_") + 1); string controllerWithParms = ""; foreach (var map in servicesMap) {