Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Mar 7, 2023
1 parent da9991f commit 570729b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/db/schema/entities/routes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ do
validate_entity_by_expression = function(entity)
local exp = entity.expression or get_expression(entity)

local ok, err = router:validate(CACHED_SCHEMA, exp)
local ok, err = router.validate(CACHED_SCHEMA, exp)
if not ok then
return nil, "Router Expression failed validation: " .. err
end
Expand Down

0 comments on commit 570729b

Please sign in to comment.