Skip to content

Commit

Permalink
Fix getRoutePluginId call
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Paget committed May 24, 2018
1 parent 4255581 commit 9417346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ function _routePlugin(serviceName, routeName, plugin) {
return removeRoutePlugin(
world.getServiceId(serviceName),
world.getServiceRoute(serviceName, routeName).id,
world.getRoutePluginId(routeName, plugin.name, consumerID)
world.getRoutePluginId(serviceName, routeName, plugin.name, consumerID)
);
}

Expand All @@ -853,7 +853,7 @@ function _routePlugin(serviceName, routeName, plugin) {
return updateRoutePlugin(
world.getServiceId(serviceName),
world.getServiceRoute(serviceName, routeName).id,
world.getRoutePluginId(routeName, plugin.name, consumerID),
world.getRoutePluginId(serviceName, routeName, plugin.name, consumerID),
finalPlugin.attributes
);
}
Expand Down

0 comments on commit 9417346

Please sign in to comment.