From fca5c7515160bcae84fd3dc3284ec54babe75c72 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 2 Feb 2020 10:35:41 -0500 Subject: Fix ifSchema --- ext/bg/js/json-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js') 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; } -- cgit v1.2.3