From 10eb4a990e333b1ef5bed05b0fbb2908d432569b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 11 Sep 2023 15:02:33 -0400 Subject: [PATCH] fix: need to use query not event --- src/queries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queries.ts b/src/queries.ts index 6e1dd0b..dc7b4d2 100644 --- a/src/queries.ts +++ b/src/queries.ts @@ -670,7 +670,7 @@ function handleModuleResponse( nonce: sourceNonce, method: event.data.method, data: event.data.data, - sw: event.data.sw, + sw: query.sw, }; // For responses only, set an error and close out the query by deleting it // from the query map.