diff options
Diffstat (limited to 'background')
-rw-r--r-- | background/CORS_bypass_server.js | 2 | ||||
-rw-r--r-- | background/patterns_query_manager.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/background/CORS_bypass_server.js b/background/CORS_bypass_server.js index 664100b..9805d41 100644 --- a/background/CORS_bypass_server.js +++ b/background/CORS_bypass_server.js @@ -48,7 +48,7 @@ async function get_prop(object, prop, result_object, call_prop=false) { try { result_object[prop] = call_prop ? (await object[prop]()) : object[prop]; } catch(e) { - result_object[`error-${prop}`] = "" + e; + result_object[`error_${prop}`] = "" + e; } } diff --git a/background/patterns_query_manager.js b/background/patterns_query_manager.js index 8b563ef..78cd0ef 100644 --- a/background/patterns_query_manager.js +++ b/background/patterns_query_manager.js @@ -144,7 +144,7 @@ async function start(secret_) secret = secret_; const [mapping_tracking, initial_mappings] = - await haketilodb.track.mappings(ch => changed("mappings", ch)); + await haketilodb.track.mapping(ch => changed("mappings", ch)); const [blocking_tracking, initial_blocking] = await haketilodb.track.blocking(ch => changed("blocking", ch)); |