Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Feb 22, 2023
1 parent 6b3d2ec commit a42de10
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 a42de10

Please sign in to comment.