diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-02 10:35:41 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-02 10:35:41 -0500 |
commit | fca5c7515160bcae84fd3dc3284ec54babe75c72 (patch) | |
tree | a4be5c522bb73adf730d9cb5b5265ffebc335f98 | |
parent | 7c9fe2c6cf52e61620ff36853fa0dee1b93594f5 (diff) |
Fix ifSchema
-rw-r--r-- | ext/bg/js/json-schema.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/json-schema.js b/ext/bg/js/json-schema.js index 97429211..43ba0c1d 100644 --- a/ext/bg/js/json-schema.js +++ b/ext/bg/js/json-schema.js @@ -204,7 +204,7 @@ class JsonSchemaProxyHandler { let okay = true; try { - JsonSchemaProxyHandler.validate(value, thenSchema); + JsonSchemaProxyHandler.validate(value, ifSchema, info); } catch (e) { okay = false; } |