From 02a17af810d5321149c5f9c33a86a6fc4806a0f6 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 19 Aug 2021 07:34:02 -0400 Subject: [PATCH] Let the caller do the awaiting Local useLists() no longer returns a reference to internal snfe instance. --- platform/nodejs/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/nodejs/index.js b/platform/nodejs/index.js index e8c0171bb..9488471e2 100644 --- a/platform/nodejs/index.js +++ b/platform/nodejs/index.js @@ -221,8 +221,8 @@ class StaticNetFilteringEngine { snfeProxyInstance = this; } - async useLists(lists) { - await useLists(lists); + useLists(lists) { + return useLists(lists); } matchRequest(details) {