From 08c5e55574df38f21ff8bcb9cf8d9f56da7faa14 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sun, 29 Sep 2024 20:15:38 +0300 Subject: [PATCH] Update communicator.ts (#23) --- helpers/communicator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/communicator.ts b/helpers/communicator.ts index 703fee5..309f59d 100644 --- a/helpers/communicator.ts +++ b/helpers/communicator.ts @@ -77,7 +77,7 @@ class AppCommunicator { // @ts-expect-error Handler existence is checked in this.canHandleMessage const response = await handler(msg); - // If response is not returned, it means the response will be send somewhere else + // If response is not returned, it means the response will be sent somewhere else if (typeof response !== "undefined") { this.send(response, msg.data.id); }