From 33b121a801546ca790182268573803bfd628f93d Mon Sep 17 00:00:00 2001 From: AlejandroP Date: Thu, 21 Sep 2023 17:44:12 -0300 Subject: [PATCH] Cherry pick branch 'genexuslabs:dispatch_put' into beta --- .../src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs b/dotnet/src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs index b945d0df5..a16733d35 100644 --- a/dotnet/src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs +++ b/dotnet/src/dotnetframework/GxClasses/Middleware/HandlerFactory.cs @@ -208,7 +208,7 @@ public bool GetSMap(string actualPath, string objectName, string objectNameUp, { foreach (SingleMap m in GXAPIModule.servicesMap[actualPath].Values) { - if (!m.Path.Equals(m.PathRegexp) && GxRegex.IsMatch(objectName, m.PathRegexp)) + if (!m.Path.Equals(m.PathRegexp) && GxRegex.IsMatch(objectName, m.PathRegexp) && m.Verb.Equals(requestType)) { mapName = m.Name; routeParms = new Dictionary();