Update communicator.ts (#23)

This commit is contained in:
Elias Rad
2024-09-29 20:15:38 +03:00
committed by GitHub
parent b62904ea42
commit 08c5e55574

View File

@@ -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);
}