From ce246ead59340ff65a7a80d900741b1d51db7baa Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 31 Dec 2022 14:52:30 -0500 Subject: [PATCH] *emitting wrong event --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2c5ad5e..55a8060 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,7 @@ function setup() { try { let query = Query.fromBinary(data); - events.emit("response", query, origin); + events.emit("query", query, origin); } catch {} }); }