aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/jsonschema.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsonschema.lua b/util/jsonschema.lua
index 48a3351f..e24fc8be 100644
--- a/util/jsonschema.lua
+++ b/util/jsonschema.lua
@@ -81,7 +81,7 @@ function complex_validate(schema, data, root)
if type(data) == "table" then
for i in pairs(data) do
- if not (math.type(i) == "integer") then
+ if not (m_type(i) == "integer") then
return false
end
end