aboutsummaryrefslogtreecommitdiffstats
path: root/util/jsonschema.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-09 02:38:51 +0100
committerKim Alvefur <zash@zash.se>2021-03-09 02:38:51 +0100
commitae408259256bfcf6a0f2daabc84241a25286ba45 (patch)
tree3a156b38baf3f8a7f6ce99e143b6ae11eb42d3a6 /util/jsonschema.lua
parentda85d37bcb847acf53031811277392afe2a17ed2 (diff)
downloadprosody-ae408259256bfcf6a0f2daabc84241a25286ba45.tar.gz
prosody-ae408259256bfcf6a0f2daabc84241a25286ba45.zip
util.jsonschema: Fix "uniqueItems" prematurely declaring a match
Diffstat (limited to 'util/jsonschema.lua')
-rw-r--r--util/jsonschema.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/jsonschema.lua b/util/jsonschema.lua
index 97068c5c..170b3dd8 100644
--- a/util/jsonschema.lua
+++ b/util/jsonschema.lua
@@ -194,7 +194,6 @@ type_validators.table = function(schema, data)
end
values[v] = true
end
- return true
end
local p = 0