diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-09 02:38:51 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-09 02:38:51 +0100 |
commit | ae408259256bfcf6a0f2daabc84241a25286ba45 (patch) | |
tree | 3a156b38baf3f8a7f6ce99e143b6ae11eb42d3a6 | |
parent | da85d37bcb847acf53031811277392afe2a17ed2 (diff) | |
download | prosody-ae408259256bfcf6a0f2daabc84241a25286ba45.tar.gz prosody-ae408259256bfcf6a0f2daabc84241a25286ba45.zip |
util.jsonschema: Fix "uniqueItems" prematurely declaring a match
-rw-r--r-- | teal-src/util/jsonschema.tl | 1 | ||||
-rw-r--r-- | util/jsonschema.lua | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/teal-src/util/jsonschema.tl b/teal-src/util/jsonschema.tl index 89a9b724..3aa0b6a3 100644 --- a/teal-src/util/jsonschema.tl +++ b/teal-src/util/jsonschema.tl @@ -275,7 +275,6 @@ type_validators.table = function (schema : schema_t, data : any) : boolean end values[v] = true end - return true end local p = 0 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 |