Skip to content

Commit

Permalink
Cherry pick branch 'genexuslabs:dispatch_put' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroP authored and genexusbot committed Sep 21, 2023
1 parent 815f0e0 commit 33b121a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, object>();
Expand Down

0 comments on commit 33b121a

Please sign in to comment.