aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-02 10:35:41 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-02 10:35:41 -0500
commitfca5c7515160bcae84fd3dc3284ec54babe75c72 (patch)
treea4be5c522bb73adf730d9cb5b5265ffebc335f98 /ext
parent7c9fe2c6cf52e61620ff36853fa0dee1b93594f5 (diff)
Fix ifSchema
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/json-schema.js2
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;
}