Skip to content

Commit 40b5fc3

Browse files
author
sjuarez
committed
Function name criteria has changed
1 parent 50e97cb commit 40b5fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetcore/GxClasses.Web/Middleware/GXRouting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ internal string GetGxRouteValue(string path)
311311
string pathWithNoBase = string.IsNullOrEmpty(basePath) ? path.Substring(1) : path.Substring(basePath.Length + 2);
312312

313313
//API Objects
314-
string AzureFunctionShortName = AzureFunctionName.Substring(AzureFunctionName.LastIndexOf(".") + 1);
314+
string AzureFunctionShortName = AzureFunctionName.Substring(AzureFunctionName.LastIndexOf("_") + 1);
315315
string controllerWithParms = "";
316316
foreach (var map in servicesMap)
317317
{

0 commit comments

Comments
 (0)