diff --git a/kong/api/routes/upstreams.lua b/kong/api/routes/upstreams.lua index 09b4a8c818de..24fa382308c2 100644 --- a/kong/api/routes/upstreams.lua +++ b/kong/api/routes/upstreams.lua @@ -117,7 +117,7 @@ return { end, }, - ["/upstreams/:name_or_id/targets/active/"] = { + ["/upstreams/:name_or_id/targets/active"] = { before = function(self, dao_factory, helpers) crud.find_upstream_by_name_or_id(self, dao_factory, helpers) self.params.upstream_id = self.upstream.id